summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-analyzer/zabbix/files/1.6.5/init.d/zabbix-server')
-rw-r--r--net-analyzer/zabbix/files/1.6.5/init.d/zabbix-server8
1 files changed, 4 insertions, 4 deletions
diff --git a/net-analyzer/zabbix/files/1.6.5/init.d/zabbix-server b/net-analyzer/zabbix/files/1.6.5/init.d/zabbix-server
index 10c408ab6b0b..277132ecf3af 100644
--- a/net-analyzer/zabbix/files/1.6.5/init.d/zabbix-server
+++ b/net-analyzer/zabbix/files/1.6.5/init.d/zabbix-server
@@ -1,7 +1,7 @@
#!/sbin/runscript
-# Copyright 1999-2007 Gentoo Foundation
+# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/zabbix/files/1.6.5/init.d/zabbix-server,v 1.1 2009/09/01 13:41:33 patrick Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/zabbix/files/1.6.5/init.d/zabbix-server,v 1.2 2011/12/31 20:47:13 idl0r Exp $
depend() {
need net
@@ -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 --group 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 --pidfile /var/run/zabbix/zabbix_server.pid
eend $?
}