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

17 lines
328 B
Text
Executable file

#!/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"
}