aboutsummaryrefslogtreecommitdiffstats
path: root/main/zabbix/zabbix-proxy.initd
diff options
context:
space:
mode:
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 $?
}