aboutsummaryrefslogtreecommitdiffstats
path: root/testing/gogs/gogs.pre-install
diff options
context:
space:
mode:
Diffstat (limited to 'testing/gogs/gogs.pre-install')
-rw-r--r--testing/gogs/gogs.pre-install4
1 files changed, 4 insertions, 0 deletions
diff --git a/testing/gogs/gogs.pre-install b/testing/gogs/gogs.pre-install
new file mode 100644
index 0000000000..26870df534
--- /dev/null
+++ b/testing/gogs/gogs.pre-install
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+adduser -S -h /var/lib/gogs -s /sbin/nologin -G www-data -D gogs 2>/dev/null || true
+