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