gentoo-overlay/sys-cluster/ganglia/files/gmetad.rc

18 lines
328 B
Text
Raw Normal View History

2007-12-18 01:09:31 +01:00
#!/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"
}