ports/net/corosync3/files/corosync-notifyd.in
Florian Smeets ce5d6d0b91 - add net/corosync3 (2.99.2)
- add net/pacemaker2 (2.0.0-rc4)
- net/corosync -> net/corosync2 (update to 2.4.4)
- net/pacemaker -> net/pacemaker1 (update to 1.1.18)
- add USES=corosync to deal with multiple versions

PR:		228164, 228165
Submitted by:	David Shane Holden <dpejesh@yahoo.com>
2018-05-24 18:24:50 +00:00

20 lines
312 B
Bash

#!/bin/sh
# $FreeBSD$
# PROVIDE: corosync-notifyd
# REQUIRE: LOGIN FILESYSTEMS
# KEYWORD: shutdown
. /etc/rc.subr
name="corosync_notifyd"
rcvar="corosync_notifyd_enable"
load_rc_config $name
: ${corosync_notifyd_enable:=NO}
command="%%PREFIX%%/sbin/corosync-notifyd"
command_args="-l"
run_rc_command "$1"