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

17 lines
322 B
Text
Executable file

#!/sbin/runscript
depend() {
need net
}
start() {
ebegin "Starting GANGLIA gmond: "
start-stop-daemon --start --quiet --exec /usr/sbin/gmond
eend $? "Failed to start gmond"
}
stop() {
ebegin "Shutting down GANGLIA gmnod: "
start-stop-daemon --stop --quiet --exec /usr/sbin/gmond
eend $? "Failed to stop gmond"
}