aboutsummaryrefslogtreecommitdiffstats
path: root/community/gitea/gitea.pre-install
diff options
context:
space:
mode:
Diffstat (limited to 'community/gitea/gitea.pre-install')
-rw-r--r--community/gitea/gitea.pre-install7
1 files changed, 7 insertions, 0 deletions
diff --git a/community/gitea/gitea.pre-install b/community/gitea/gitea.pre-install
new file mode 100644
index 0000000000..04b5a24008
--- /dev/null
+++ b/community/gitea/gitea.pre-install
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+addgroup -S www-data 2>/dev/null
+adduser -S -D -h /var/lib/gitea -s /bin/ash -G www-data -g gitea gitea 2>/dev/null
+passwd -u gitea 2>/dev/null
+
+exit 0