aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained/seafile/seafile-server.pre-install
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2016-04-25 09:50:26 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2016-04-25 09:50:54 +0000
commit6e5499bca18c723547152560886ab3bb043c6e8f (patch)
tree6c656668224c7656762f04b92fea6f53126f972b /unmaintained/seafile/seafile-server.pre-install
parentb7c051f17ccedcb66fe19ad331d2ff3f2a4cdaa8 (diff)
downloadaports-6e5499bca18c723547152560886ab3bb043c6e8f.tar.bz2
aports-6e5499bca18c723547152560886ab3bb043c6e8f.tar.xz
move seafile and deps to unmaintained
it does not work
Diffstat (limited to 'unmaintained/seafile/seafile-server.pre-install')
-rw-r--r--unmaintained/seafile/seafile-server.pre-install8
1 files changed, 8 insertions, 0 deletions
diff --git a/unmaintained/seafile/seafile-server.pre-install b/unmaintained/seafile/seafile-server.pre-install
new file mode 100644
index 0000000000..7e3df0b5ef
--- /dev/null
+++ b/unmaintained/seafile/seafile-server.pre-install
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+SEAFILE_HOME=/var/lib/seafile
+
+addgroup -S -g 800 seafile 2>/dev/null
+adduser -S -u 800 -D -h $SEAFILE_HOME -s /bin/sh -G seafile -g seafile seafile 2>/dev/null
+
+exit 0