summaryrefslogtreecommitdiff
path: root/user/nextcloud/nextcloud.pre-install
diff options
context:
space:
mode:
Diffstat (limited to 'user/nextcloud/nextcloud.pre-install')
-rw-r--r--user/nextcloud/nextcloud.pre-install6
1 files changed, 6 insertions, 0 deletions
diff --git a/user/nextcloud/nextcloud.pre-install b/user/nextcloud/nextcloud.pre-install
new file mode 100644
index 000000000..e9cf53919
--- /dev/null
+++ b/user/nextcloud/nextcloud.pre-install
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+addgroup -S -g 82 www-data 2>/dev/null
+adduser -S -D -H -h /var/lib/nextcloud -s /sbin/nologin -G www-data -g Nextcloud nextcloud 2>/dev/null
+
+exit 0