aboutsummaryrefslogtreecommitdiffstats
path: root/main/nginx-lua/nginx-lua.pre-install
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2014-05-07 09:44:55 +0300
committerTimo Teräs <timo.teras@iki.fi>2014-05-07 09:45:35 +0300
commit9893cf0f44ca86d40f46e3b0b4306b42bb5041ac (patch)
tree55b3063b4062844cae66dadcb8d79b38ce3f425f /main/nginx-lua/nginx-lua.pre-install
parentb8cb931e312b5590897c310b0e3bc3f90d6ef809 (diff)
downloadaports-9893cf0f44ca86d40f46e3b0b4306b42bb5041ac.tar.bz2
aports-9893cf0f44ca86d40f46e3b0b4306b42bb5041ac.tar.xz
main/nginx-lua: moved from testing
Diffstat (limited to 'main/nginx-lua/nginx-lua.pre-install')
-rw-r--r--main/nginx-lua/nginx-lua.pre-install9
1 files changed, 9 insertions, 0 deletions
diff --git a/main/nginx-lua/nginx-lua.pre-install b/main/nginx-lua/nginx-lua.pre-install
new file mode 100644
index 0000000000..55b5bfcda5
--- /dev/null
+++ b/main/nginx-lua/nginx-lua.pre-install
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+addgroup -g 82 -S www-data 2>/dev/null
+addgroup -S nginx 2>/dev/null
+adduser -S -G nginx -H -h /var/www/localhost/htdocs -s /sbin/nologin \
+ -D nginx 2>/dev/null
+addgroup nginx www-data 2>/dev/null
+
+exit 0