Skip to content

Instantly share code, notes, and snippets.

@robbat2
Created April 10, 2019 06:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save robbat2/49f17881b37de82ef0065d377e0af2b3 to your computer and use it in GitHub Desktop.
Save robbat2/49f17881b37de82ef0065d377e0af2b3 to your computer and use it in GitHub Desktop.
cfengine2 openrc initd
#!/sbin/openrc-run
depend() {
need net
}
command=/usr/sbin/cfservd
PIDFILE=/run/${SVCNAME}.pid
command_args=''
command_args_foreground='-F'
respawn_period=1
supervisor=supervise-daemon
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment