mirror of
https://git.freebsd.org/ports.git
synced 2025-06-25 06:30:29 -04:00
The Corosync Cluster Engine is a Group Communication System with additional features for implementing high availability within applications. The project provides four C Application Programming Interface features: * A closed process group communication model with virtual synchrony guarantees for creating replicated state machines. * A simple availability manager that restarts the application process when it has failed. * A configuration and statistics in-memory database that provide the ability to set, retrieve, and receive change notifications of information. * A quorum system that notifies applications when quorum is achieved or lost. Corosync is used as a High Availability framework by projects such as Apache Qpid and Pacemaker. PR: 208182 Submitted by: David Shane Holden <dpejesh@yahoo.com>
20 lines
312 B
Bash
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"
|