corosync.in 237 B

12345678910111213
  1. #!/sbin/openrc-run
  2. : ${cfgfile:=${CONFIGFILE:="/etc/corosync/corosync.conf"}}
  3. pidfile="/run/$RC_SVCNAME.pid"
  4. command="/usr/sbin/corosync"
  5. command_args="-l $pidfile -c $cfgfile"
  6. required_files="$cfgfile"
  7. depend() {
  8. need net
  9. }