aboutsummaryrefslogtreecommitdiffstats
path: root/community/icinga2
diff options
context:
space:
mode:
authorPrzemyslaw Pawelczyk <przemoc@zoho.com>2016-04-23 13:13:38 +0200
committerNatanael Copa <ncopa@alpinelinux.org>2016-04-25 06:54:18 +0000
commita593d306c92f8bc15a1797c0a2ccfa784edbc4a0 (patch)
treee4ea45498386fd0c74f7a6a10422836df56932af /community/icinga2
parentccc056dbf9d3fdeef2a8e8abc00f9d2cddc5348e (diff)
downloadaports-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 'community/icinga2')
-rw-r--r--community/icinga2/icinga2.pre-install2
1 files changed, 1 insertions, 1 deletions
diff --git a/community/icinga2/icinga2.pre-install b/community/icinga2/icinga2.pre-install
index 349c8c8879..e84e09e0c6 100644
--- a/community/icinga2/icinga2.pre-install
+++ b/community/icinga2/icinga2.pre-install
@@ -1,6 +1,6 @@
#!/bin/sh
addgroup -S icinga 2>/dev/null
addgroup -S icingacmd 2>/dev/null
-adduser -S -G icinga -H -h /var/spool/icinga2 -s /sbin/nologin -D icinga 2>/dev/null
+adduser -S -G icinga -H -h /var/spool/icinga2 -s /sbin/nologin -D -g icinga icinga 2>/dev/null
adduser icinga icingacmd 2>/dev/null 2>/dev/null
exit 0