mirror_corosync/init/mvlcge
Jim Meyering d86737ac9c remove empty lines at end-of-file
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2118 fd59a12c-fef9-0310-b244-a6a79926bd2f
2009-04-22 08:04:06 +00:00

27 lines
580 B
Bash
Executable File

#! /bin/sh
#
# Application Interface Specification Startup
# chkconfig: 2345 20 20
PATH=/bin:/usr/bin:/sbin:/usr/sbin
test -f /usr/sbin/corosync | exit 0
case "$1" in
start)
echo -n "Starting Corosync Cluster Engine: "
start-stop-daemon --start --quiet --exec /usr/sbin/corosync
echo "."
;;
stop)
echo -n "Stopping Corosync Cluster Engine: "
start-stop-daemon --stop --quiet --exec /usr/sbin/corosync
echo "."
;;
*)
echo "Usage: /etc/init.d/corosync {start|stop}" >&2
exit 1
;;
esac