From 121d6f029f4ebc205915bb5a0c74ecde7d874b32 Mon Sep 17 00:00:00 2001 From: Gabriel Arakaki Giovanini Date: Sun, 25 Sep 2022 02:27:57 +0000 Subject: feat: Add some dependencies of seafile Add initial setup for dependencies of seafile server --- seafile/seafile-server.pre-install | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 seafile/seafile-server.pre-install (limited to 'seafile/seafile-server.pre-install') 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 -- cgit v1.2.3