#!/sbin/runscript depend() { need net clock hostname } start() { ebegin "Starting Hyperic HQ Agent" start-stop-daemon --start --quiet --chuid hyperic:hyperic --exec /opt/hyperic-hq-agent-2.1.20/hq-agent.sh -- start eend $? } stop() { ebegin "Stopping Hyperic HQ Agent" start-stop-daemon --stop --quiet --user hyperic --retry 5 eend $? }