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