Allow libconfdb to run standalone (without aisexec)
[openais.git] / init / mvlcge
blobf2d437e39441a088189e3d8df269d012794b4c65
1 #! /bin/sh
3 # Application Interface Specification Startup
4 # chkconfig: 2345 20 20
6 PATH=/bin:/usr/bin:/sbin:/usr/sbin
8 test -f /usr/sbin/aisexec | exit 0
10 case "$1" in
11 start)
12 echo -n "Starting Application Interface Specification Executive: "
13 start-stop-daemon --start --quiet --exec /usr/sbin/aisexec
14 echo "."
17 stop)
18 echo -n "Stopping Application Interface Specification Executive: "
19 start-stop-daemon --stop --quiet --exec /usr/sbin/aisexec
20 echo "."
23 echo "Usage: /etc/init.d/ais {start|stop}" >&2
24 exit 1
26 esac