diff options
author | Przemyslaw Pawelczyk <przemoc@zoho.com> | 2016-04-23 13:13:38 +0200 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2016-04-25 06:54:18 +0000 |
commit | a593d306c92f8bc15a1797c0a2ccfa784edbc4a0 (patch) | |
tree | e4ea45498386fd0c74f7a6a10422836df56932af /main/haproxy | |
parent | ccc056dbf9d3fdeef2a8e8abc00f9d2cddc5348e (diff) | |
download | aports-a593d306c92f8bc15a1797c0a2ccfa784edbc4a0.tar.bz2 aports-a593d306c92f8bc15a1797c0a2ccfa784edbc4a0.tar.xz |
Add -g option (GECOS/comment) to adduser in scripts.
This way we can avoid ugly default:
Linux user,,,
Diffstat (limited to 'main/haproxy')
-rw-r--r-- | main/haproxy/haproxy.pre-install | 2 | ||||
-rw-r--r-- | main/haproxy/haproxy.pre-upgrade | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/main/haproxy/haproxy.pre-install b/main/haproxy/haproxy.pre-install index 470695636e..72b8ab0087 100644 --- a/main/haproxy/haproxy.pre-install +++ b/main/haproxy/haproxy.pre-install @@ -2,7 +2,7 @@ addgroup -S haproxy 2>/dev/null adduser -S -H -h /var/lib/haproxy -s /bin/false -D \ - -G haproxy haproxy 2>/dev/null + -G haproxy -g haproxy haproxy 2>/dev/null # move config to new location if [ -e /etc/haproxy.cfg ] && ! [ -e /etc/haproxy/haproxy.cfg ]; then diff --git a/main/haproxy/haproxy.pre-upgrade b/main/haproxy/haproxy.pre-upgrade index 470695636e..72b8ab0087 100644 --- a/main/haproxy/haproxy.pre-upgrade +++ b/main/haproxy/haproxy.pre-upgrade @@ -2,7 +2,7 @@ addgroup -S haproxy 2>/dev/null adduser -S -H -h /var/lib/haproxy -s /bin/false -D \ - -G haproxy haproxy 2>/dev/null + -G haproxy -g haproxy haproxy 2>/dev/null # move config to new location if [ -e /etc/haproxy.cfg ] && ! [ -e /etc/haproxy/haproxy.cfg ]; then |