aboutsummaryrefslogtreecommitdiffstats
path: root/main/nginx
diff options
context:
space:
mode:
authorPrzemyslaw Pawelczyk <przemoc@zoho.com>2016-04-23 13:13:36 +0200
committerNatanael Copa <ncopa@alpinelinux.org>2016-04-25 06:51:49 +0000
commit2a573734b692ce27e4809e47e514ca0dfffaa970 (patch)
tree30f53a12d9be57166a8205fcfa0f7651641fe07a /main/nginx
parent694ace841f5e455f9a44087a3657594937ae23ad (diff)
downloadaports-2a573734b692ce27e4809e47e514ca0dfffaa970.tar.bz2
aports-2a573734b692ce27e4809e47e514ca0dfffaa970.tar.xz
Reorder options passed to adduser in scripts: make -S first.
It's only for consistency and to ease spotting lack of it.
Diffstat (limited to 'main/nginx')
-rw-r--r--main/nginx/nginx-common.pre-install2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/nginx/nginx-common.pre-install b/main/nginx/nginx-common.pre-install
index 823de3a4b1..27bf2de7cb 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 -h /var/lib/nginx -g "nginx" -s /sbin/nologin -SDHG nginx nginx 2>/dev/null
+adduser -S -h /var/lib/nginx -g "nginx" -s /sbin/nologin -DHG nginx nginx 2>/dev/null
addgroup nginx www-data 2>/dev/null
exit 0