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

depend() {
	need net
}

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"
}