diff options
author | Jesse Young <jlyo@jlyo.org> | 2011-11-25 12:46:26 -0600 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2011-12-01 07:15:51 +0000 |
commit | ae1967b66eba132dd8c9fa5b5f57712d012b6647 (patch) | |
tree | fca1c166178cd340ea41b6d3794cf58c4152f2f4 /main/zabbix | |
parent | 379338be8b4cd31b24080f7f01ae14fe124a84ae (diff) | |
download | aports-ae1967b66eba132dd8c9fa5b5f57712d012b6647.tar.bz2 aports-ae1967b66eba132dd8c9fa5b5f57712d012b6647.tar.xz |
Replace instances of "--chuid" to "--user" in initd scripts
Fixes #776
Signed-off-by: Jesse Young <jlyo@jlyo.org>
Diffstat (limited to 'main/zabbix')
-rw-r--r-- | main/zabbix/APKBUILD | 10 | ||||
-rw-r--r-- | main/zabbix/zabbix-agentd.initd | 4 | ||||
-rw-r--r-- | main/zabbix/zabbix-proxy.initd | 4 | ||||
-rw-r--r-- | main/zabbix/zabbix-server.initd | 4 |
4 files changed, 11 insertions, 11 deletions
diff --git a/main/zabbix/APKBUILD b/main/zabbix/APKBUILD index 53cb4fff7f..9e0b8e98f0 100644 --- a/main/zabbix/APKBUILD +++ b/main/zabbix/APKBUILD @@ -1,8 +1,8 @@ -# Contributor: Jeff Bilyk <jbilyk at gmail> +# Contributor: Jeff Bilyk <jbilyk at gmail> # Maintainer: Natanael Copa <natanael.copa@gmail.com> pkgname=zabbix pkgver=1.8.8 -pkgrel=0 +pkgrel=1 pkgdesc="Enterprise-class open source distributed monitoring" url="www.zabbix.com" arch="all" @@ -158,6 +158,6 @@ md5sums="8e38079640cf50c215f36dfd3125a6d3 zabbix-1.8.8.tar.gz 721c18077fa739f956340afca9f067f4 zabbix_agentd.conf a55a4d0b2e13c97c280006ba4bee0afa zabbix-dn_skipname.patch 8d1d2e53479173aac0df0c38a4d6afda zabbix-getloadavg.patch -e42394e798ab98a8ff4babe68e04633a zabbix-server.initd -88374bba8a8fdfabfcfe9be6dd12095f zabbix-agentd.initd -32abde1cc00c2eeccddb7e038117d0ab zabbix-proxy.initd" +d823c2ab6c2bbdd0ebd3511fac4a83b4 zabbix-server.initd +1a5c718bcf815fcf659e14fb0b576a1a zabbix-agentd.initd +a99978139481e69434f78fc3e8c53441 zabbix-proxy.initd" diff --git a/main/zabbix/zabbix-agentd.initd b/main/zabbix/zabbix-agentd.initd index b14b5fe74b..745b35e06b 100644 --- a/main/zabbix/zabbix-agentd.initd +++ b/main/zabbix/zabbix-agentd.initd @@ -11,12 +11,12 @@ depend() { start() { ebegin "Starting Zabbix agent" - start-stop-daemon --start -c zabbix:zabbix --exec /usr/sbin/zabbix_agentd + start-stop-daemon --start --user zabbix:zabbix --exec /usr/sbin/zabbix_agentd eend $? } stop() { ebegin "Stopping Zabbix agent" - start-stop-daemon --stop -u zabbix --pidfile /var/run/zabbix/zabbix_agentd.pid + start-stop-daemon --stop --user zabbix --pidfile /var/run/zabbix/zabbix_agentd.pid eend $? } diff --git a/main/zabbix/zabbix-proxy.initd b/main/zabbix/zabbix-proxy.initd index 8ac246eccd..a8b418a204 100644 --- a/main/zabbix/zabbix-proxy.initd +++ b/main/zabbix/zabbix-proxy.initd @@ -10,12 +10,12 @@ depend() { start() { ebegin "Starting Zabbix proxy" - start-stop-daemon --start -c zabbix:zabbix --exec /usr/sbin/zabbix_proxy + start-stop-daemon --start --user zabbix:zabbix --exec /usr/sbin/zabbix_proxy eend $? } stop() { ebegin "Stopping Zabbix proxy" - start-stop-daemon --stop -u zabbix --pidfile /var/run/zabbix/zabbix_proxy.pid + start-stop-daemon --stop --user zabbix --pidfile /var/run/zabbix/zabbix_proxy.pid eend $? } diff --git a/main/zabbix/zabbix-server.initd b/main/zabbix/zabbix-server.initd index a661cd233d..5ccd019430 100644 --- a/main/zabbix/zabbix-server.initd +++ b/main/zabbix/zabbix-server.initd @@ -10,12 +10,12 @@ depend() { start() { ebegin "Starting Zabbix server" - start-stop-daemon --start -c zabbix:zabbix --exec /usr/sbin/zabbix_server + start-stop-daemon --start --user zabbix:zabbix --exec /usr/sbin/zabbix_server eend $? } stop() { ebegin "Stopping Zabbix server" - start-stop-daemon --stop -u zabbix --pidfile /var/run/zabbix/zabbix_server.pid + start-stop-daemon --stop --user zabbix --pidfile /var/run/zabbix/zabbix_server.pid eend $? } |