aboutsummaryrefslogtreecommitdiffstats
path: root/main/zabbix/zabbix-server.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-server.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-server.initd')
-rw-r--r--main/zabbix/zabbix-server.initd4
1 files changed, 2 insertions, 2 deletions
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 $?
}