projects/aports·blob master · refs

13 lines · 237 B

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