diff options
Diffstat (limited to 'main/nginx-lua/nginx-lua.pre-install')
-rw-r--r-- | main/nginx-lua/nginx-lua.pre-install | 9 |
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 |