From ae1967b66eba132dd8c9fa5b5f57712d012b6647 Mon Sep 17 00:00:00 2001 From: Jesse Young Date: Fri, 25 Nov 2011 12:46:26 -0600 Subject: Replace instances of "--chuid" to "--user" in initd scripts Fixes #776 Signed-off-by: Jesse Young --- main/zabbix/zabbix-server.initd | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'main/zabbix/zabbix-server.initd') 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 $? } -- cgit v1.2.3