You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/net-misc/cfengine/files/cf-monitord.rc6

18 lines
316 B

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