aboutsummaryrefslogtreecommitdiffstats
path: root/main/haproxy
diff options
context:
space:
mode:
authorPrzemyslaw Pawelczyk <przemoc@zoho.com>2016-04-23 13:13:41 +0200
committerNatanael Copa <ncopa@alpinelinux.org>2016-04-25 06:56:47 +0000
commitda4e96aacef5e9bd9a7dccecffdc92f588a6dd78 (patch)
tree6121ad4aa9d1cb1aca5c3aac0fbde35f4943b50c /main/haproxy
parent8ac766921c78afe221fa463b6ec07e9e4da4d520 (diff)
downloadaports-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/haproxy')
-rw-r--r--main/haproxy/haproxy.pre-install2
-rw-r--r--main/haproxy/haproxy.pre-upgrade2
2 files changed, 2 insertions, 2 deletions
diff --git a/main/haproxy/haproxy.pre-install b/main/haproxy/haproxy.pre-install
index 162855ab33..85cefc9814 100644
--- a/main/haproxy/haproxy.pre-install
+++ b/main/haproxy/haproxy.pre-install
@@ -1,7 +1,7 @@
#!/bin/sh
addgroup -S haproxy 2>/dev/null
-adduser -S -H -h /var/lib/haproxy -s /bin/false -D \
+adduser -S -D -H -h /var/lib/haproxy -s /bin/false \
-G haproxy -g haproxy haproxy 2>/dev/null
# move config to new location
diff --git a/main/haproxy/haproxy.pre-upgrade b/main/haproxy/haproxy.pre-upgrade
index 162855ab33..85cefc9814 100644
--- a/main/haproxy/haproxy.pre-upgrade
+++ b/main/haproxy/haproxy.pre-upgrade
@@ -1,7 +1,7 @@
#!/bin/sh
addgroup -S haproxy 2>/dev/null
-adduser -S -H -h /var/lib/haproxy -s /bin/false -D \
+adduser -S -D -H -h /var/lib/haproxy -s /bin/false \
-G haproxy -g haproxy haproxy 2>/dev/null
# move config to new location