aboutsummaryrefslogtreecommitdiff
path: root/seafile/seafile-server.pre-install
diff options
context:
space:
mode:
authorGabriel Arakaki Giovanini <mail@gabrielgio.me>2022-09-25 02:27:57 +0000
committerGabriel Arakaki Giovanini <mail@gabrielgio.me>2022-09-25 02:31:49 +0000
commit121d6f029f4ebc205915bb5a0c74ecde7d874b32 (patch)
treed8a25a59746b269a47eb3d76ba3c48082ea6b92a /seafile/seafile-server.pre-install
parent5ed1ae372c629c87f79d7914d1520749ce82cd7c (diff)
downloadapkbuilds-121d6f029f4ebc205915bb5a0c74ecde7d874b32.tar.gz
apkbuilds-121d6f029f4ebc205915bb5a0c74ecde7d874b32.tar.bz2
apkbuilds-121d6f029f4ebc205915bb5a0c74ecde7d874b32.zip
feat: Add some dependencies of seafile
Add initial setup for dependencies of seafile server
Diffstat (limited to 'seafile/seafile-server.pre-install')
-rw-r--r--seafile/seafile-server.pre-install8
1 files changed, 8 insertions, 0 deletions
diff --git a/seafile/seafile-server.pre-install b/seafile/seafile-server.pre-install
new file mode 100644
index 0000000..7e3df0b
--- /dev/null
+++ b/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