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