aboutsummaryrefslogtreecommitdiffstats
path: root/main/seafile/seafile-server.pre-install
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2014-10-31 11:50:35 +0100
committerCarlo Landmeter <clandmeter@gmail.com>2014-10-31 11:50:35 +0100
commitbd40d543bcea6700c99518d1dda8e9c82e3449bf (patch)
tree68691b8f8eb470855c1655b7792599a815db5b4d /main/seafile/seafile-server.pre-install
parentc3e2c12d30f48a88fbc9b4aa98a0861ebb06d052 (diff)
downloadaports-bd40d543bcea6700c99518d1dda8e9c82e3449bf.tar.bz2
aports-bd40d543bcea6700c99518d1dda8e9c82e3449bf.tar.xz
testing/seafile: move seafile and deps to main
Diffstat (limited to 'main/seafile/seafile-server.pre-install')
-rw-r--r--main/seafile/seafile-server.pre-install7
1 files changed, 7 insertions, 0 deletions
diff --git a/main/seafile/seafile-server.pre-install b/main/seafile/seafile-server.pre-install
new file mode 100644
index 000000000..173e73a35
--- /dev/null
+++ b/main/seafile/seafile-server.pre-install
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+SEAFILE_HOME=/var/lib/seafile
+
+addgroup -S -g 800 seafile 2>/dev/null
+adduser -h $SEAFILE_HOME -s /bin/sh -G seafile -g seafile -u 800 -D seafile 2>/dev/null
+exit 0