Revision b81ef751 doc/examples/ganeti.initd.in

b/doc/examples/ganeti.initd.in
17 17
NODED=@PREFIX@/sbin/ganeti-noded
18 18
MASTER=@PREFIX@/sbin/ganeti-master
19 19
SCRIPTNAME=@SYSCONFDIR@/init.d/ganeti
20
RUNDIR="@LOCALSTATEDIR@/run/ganeti"
20 21

  
21 22
test -f $NODED || exit 0
22 23

  
......
55 56
    start)
56 57
        log_daemon_msg "Starting $DESC" "$NAME"
57 58
        check_config
59
        test -e "$RUNDIR" || mkdir -p "$RUNDIR"
58 60
        if start-stop-daemon --start --quiet --exec $NODED; then
59 61
            log_end_msg 0
60 62
        else

Also available in: Unified diff