#!/sbin/openrc-run depend() { need net } start() { ebegin "Starting cf-monitord" start-stop-daemon --start --exec /usr/bin/cf-monitord -- ${EXTRA_OPTS} eend $? } stop() { ebegin "Stopping cf-monitord" start-stop-daemon --stop --pidfile /var/cfengine/cf-monitord.pid --exec /usr/bin/cf-monitord eend $? }