diff options
Diffstat (limited to 'main/nginx/nginx-common.pre-install')
-rw-r--r-- | main/nginx/nginx-common.pre-install | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/main/nginx/nginx-common.pre-install b/main/nginx/nginx-common.pre-install new file mode 100644 index 0000000000..823de3a4b1 --- /dev/null +++ b/main/nginx/nginx-common.pre-install @@ -0,0 +1,8 @@ +#!/bin/sh + +addgroup -Sg 82 www-data 2>/dev/null +addgroup -S nginx 2>/dev/null +adduser -h /var/lib/nginx -g "nginx" -s /sbin/nologin -SDHG nginx nginx 2>/dev/null +addgroup nginx www-data 2>/dev/null + +exit 0 |