3 # Provides: sipb-xen-clvm-config
4 # Required-Start: $ccs $cman
6 # Should-Start: $network
9 # Short-Description: Start clvm daemon
10 # Description: Network file systems are mounted by
11 # /etc/network/if-up.d/mountnfs in the background
12 # when interfaces are brought up; this script waits
13 # for them to be mounted before carrying on.
16 PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
18 NAME=sipb-xen-clvm-config
19 PIDFILE=/var/run/cluster/clvmd.pid
22 test -x $DAEMON || exit 0
26 if [ -f /etc/default/sipb-xen-clvm-config ] ; then
27 . /etc/default/sipb-xen-clvm-config
34 echo -n "Starting $DESC: "
35 start-stop-daemon --start --quiet --pidfile $PIDFILE --exec $DAEMON -- $CLVMD_OPTIONS
39 echo -n "Stopping $DESC: "
40 start-stop-daemon --stop --oknodo --quiet --pidfile $PIDFILE --exec $DAEMON
44 echo -n "Restarting $DESC: "
52 echo "Usage: $N {start|stop|restart|force-reload}" >&2