Make ganeti-noded create BDEV_CACHE_DIR automatically
[ganeti-local] / doc / examples / ganeti.initd.in
index 99079fc..2d5219f 100644 (file)
@@ -17,7 +17,6 @@ NAME=ganeti-noded
 NODED=@PREFIX@/sbin/ganeti-noded
 MASTER=@PREFIX@/sbin/ganeti-master
 SCRIPTNAME=@SYSCONFDIR@/init.d/ganeti
-RUNDIR="@LOCALSTATEDIR@/run/ganeti"
 
 test -f $NODED || exit 0
 
@@ -56,7 +55,6 @@ case "$1" in
     start)
         log_daemon_msg "Starting $DESC" "$NAME"
         check_config
-        test -e "$RUNDIR" || mkdir -p "$RUNDIR"
         if start-stop-daemon --start --quiet --exec $NODED; then
             log_end_msg 0
         else
@@ -90,5 +88,3 @@ case "$1" in
 esac
 
 exit 0
-
-# vim: set sw=4 sts=4 et foldmethod=marker :