summaryrefslogtreecommitdiff
blob: 3ca5f36121faca51cb68bc1676d1b112088c2dd7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/sbin/runscript

depend() {
	need net
	after ntp-client ntpd
}

start() {
	ebegin "Starting GANGLIA gmetad: "
	start-stop-daemon --start --quiet --exec /usr/sbin/gmetad
	eend $? "Failed to start gmetad"
}

stop() {
	ebegin "Shutting down GANGLIA gmetad: "
	start-stop-daemon --stop --quiet --exec /usr/sbin/gmetad
	eend $? "Failed to stop gmetad"
}