aboutsummaryrefslogtreecommitdiffstats
path: root/testing/gogs/gogs.pre-install
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2015-04-20 17:22:55 +0200
committerCarlo Landmeter <clandmeter@gmail.com>2015-04-20 17:23:03 +0200
commita8c9452678685e2a50789e4844d97cd4e3ddf0c9 (patch)
tree89945554cf81d3731122bce6196bc1d33e07474d /testing/gogs/gogs.pre-install
parent699cc620bce3fdfb9cdd601aba587e35cfbf7f17 (diff)
downloadaports-a8c9452678685e2a50789e4844d97cd4e3ddf0c9.tar.bz2
aports-a8c9452678685e2a50789e4844d97cd4e3ddf0c9.tar.xz
testing/gogs: new aport
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
+