aboutsummaryrefslogtreecommitdiffstats
path: root/community/nginx-naxsi/nginx-naxsi.pre-install
diff options
context:
space:
mode:
Diffstat (limited to 'community/nginx-naxsi/nginx-naxsi.pre-install')
-rw-r--r--community/nginx-naxsi/nginx-naxsi.pre-install9
1 files changed, 9 insertions, 0 deletions
diff --git a/community/nginx-naxsi/nginx-naxsi.pre-install b/community/nginx-naxsi/nginx-naxsi.pre-install
new file mode 100644
index 000000000..8512f43dd
--- /dev/null
+++ b/community/nginx-naxsi/nginx-naxsi.pre-install
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+addgroup -S -g 82 www-data 2>/dev/null
+addgroup -S nginx 2>/dev/null
+adduser -S -D -H -h /var/www/localhost/htdocs -s /sbin/nologin -G nginx \
+ -g nginx nginx 2>/dev/null
+addgroup nginx www-data 2>/dev/null
+
+exit 0