diff options
Diffstat (limited to 'unmaintained/seafile/seafile-server.pre-install')
-rw-r--r-- | unmaintained/seafile/seafile-server.pre-install | 8 |
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 |