summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-analyzer/zabbix-server/files/1.0/init.d/zabbix-suckerd')
-rw-r--r--net-analyzer/zabbix-server/files/1.0/init.d/zabbix-suckerd21
1 files changed, 21 insertions, 0 deletions
diff --git a/net-analyzer/zabbix-server/files/1.0/init.d/zabbix-suckerd b/net-analyzer/zabbix-server/files/1.0/init.d/zabbix-suckerd
new file mode 100644
index 000000000000..fce258189046
--- /dev/null
+++ b/net-analyzer/zabbix-server/files/1.0/init.d/zabbix-suckerd
@@ -0,0 +1,21 @@
+#!/sbin/runscript
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header:
+
+opts="${opts} reload"
+
+depend() {
+ need net mysql
+}
+
+start() {
+ ebegin "Starting Zabbix suckerd"
+ start-stop-daemon --start --exec /usr/sbin/zabbix_suckerd
+ eend
+}
+stop() {
+ ebegin "Stopping Zabbix suckerd"
+ start-stop-daemon --stop --pid $PID
+ eend
+}