summaryrefslogtreecommitdiff
blob: a43efe93472b4bbfb9427a6a055a15e1d2d027cd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/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
	use mysql postgresql
}

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
}