mirror of
https://git.proxmox.com/git/mirror_corosync
synced 2025-05-25 09:15:27 +00:00

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@5 fd59a12c-fef9-0310-b244-a6a79926bd2f
29 lines
622 B
Bash
29 lines
622 B
Bash
#! /bin/sh
|
|
#
|
|
# Application Interface Specification Startup
|
|
# chkconfig: 2345 20 20
|
|
|
|
PATH=/bin:/usr/bin:/sbin:/usr/sbin
|
|
|
|
test -f /usr/sbin/aisexec | exit 0
|
|
|
|
case "$1" in
|
|
start)
|
|
echo -n "Starting Application Interface Specification Executive: "
|
|
start-stop-daemon --start --quiet --exec /usr/sbin/aisexec
|
|
echo "."
|
|
|
|
;;
|
|
stop)
|
|
echo -n "Stopping Application Interface Specification Executive: "
|
|
start-stop-daemon --stop --quiet --exec /usr/sbin/aisexec
|
|
echo "."
|
|
;;
|
|
*)
|
|
echo "Usage: /etc/init.d/ais {start|stop}" >&2
|
|
exit 1
|
|
;;
|
|
esac
|
|
|
|
|