diff options
Diffstat (limited to 'main/nginx/nginx.pre-install')
-rw-r--r-- | main/nginx/nginx.pre-install | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/main/nginx/nginx.pre-install b/main/nginx/nginx.pre-install index 8d0a58c6f8..55b5bfcda5 100644 --- a/main/nginx/nginx.pre-install +++ b/main/nginx/nginx.pre-install @@ -1,5 +1,9 @@ #!/bin/sh -addgroup nginx 2>/dev/null -adduser -S -H -h /dev/null -s /sbin/nologin -D -G nginx nginx 2>/dev/null +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 |