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

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

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

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