aboutsummaryrefslogtreecommitdiffstats
path: root/main/zabbix/zabbix-proxy.initd
diff options
context:
space:
mode:
authorJesse Young <jlyo@jlyo.org>2011-11-25 12:46:26 -0600
committerNatanael Copa <ncopa@alpinelinux.org>2011-12-01 07:15:51 +0000
commitae1967b66eba132dd8c9fa5b5f57712d012b6647 (patch)
treefca1c166178cd340ea41b6d3794cf58c4152f2f4 /main/zabbix/zabbix-proxy.initd
parent379338be8b4cd31b24080f7f01ae14fe124a84ae (diff)
downloadaports-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/zabbix-proxy.initd')
-rw-r--r--main/zabbix/zabbix-proxy.initd4
1 files changed, 2 insertions, 2 deletions
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 $?
}