diff options
author | Przemyslaw Pawelczyk <przemoc@zoho.com> | 2016-04-23 13:13:41 +0200 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2016-04-25 06:56:47 +0000 |
commit | da4e96aacef5e9bd9a7dccecffdc92f588a6dd78 (patch) | |
tree | 6121ad4aa9d1cb1aca5c3aac0fbde35f4943b50c /main/nginx | |
parent | 8ac766921c78afe221fa463b6ec07e9e4da4d520 (diff) | |
download | aports-da4e96aacef5e9bd9a7dccecffdc92f588a6dd78.tar.bz2 aports-da4e96aacef5e9bd9a7dccecffdc92f588a6dd78.tar.xz |
Reorder arguments passed to addgroup/adduser in scripts.
Now all invocations have following order of arguments (if present):
addgroup -S -g ... GROUP
adduser -S -u ... -D -H -h ... -s ... -G ... -g ... USER
Diffstat (limited to 'main/nginx')
-rw-r--r-- | main/nginx/nginx-common.pre-install | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/nginx/nginx-common.pre-install b/main/nginx/nginx-common.pre-install index 27bf2de7cb..ae5b6857ac 100644 --- a/main/nginx/nginx-common.pre-install +++ b/main/nginx/nginx-common.pre-install @@ -2,7 +2,7 @@ addgroup -Sg 82 www-data 2>/dev/null addgroup -S nginx 2>/dev/null -adduser -S -h /var/lib/nginx -g "nginx" -s /sbin/nologin -DHG nginx nginx 2>/dev/null +adduser -S -D -H -h /var/lib/nginx -s /sbin/nologin -G nginx -g nginx nginx 2>/dev/null addgroup nginx www-data 2>/dev/null exit 0 |