Revision 9164cec9

b/doc/examples/ganeti.initd.in
28 28
MASTERD_PID="${GANETIRUNDIR}/${MASTERD_NAME}.pid"
29 29
MASTERD_ARGS=""
30 30

  
31
CONFD_NAME="ganeti-confd"
32
CONFD="@PREFIX@/sbin/${CONFD_NAME}"
33
CONFD_PID="${GANETIRUNDIR}/${CONFD_NAME}.pid"
34
CONFD_ARGS=""
35

  
31 36
RAPI_NAME="ganeti-rapi"
32 37
RAPI="@PREFIX@/sbin/${RAPI_NAME}"
33 38
RAPI_PID="${GANETIRUNDIR}/${RAPI_NAME}.pid"
......
95 100
        check_config
96 101
        start_action $NODED $NODED_PID $NODED_ARGS
97 102
        start_action $MASTERD $MASTERD_PID $MASTERD_ARGS
103
        start_action $CONFD $CONFD_PID $CONFD_ARGS
98 104
        start_action $RAPI $RAPI_PID $RAPI_ARGS
99 105
        ;;
100 106
    stop)
101 107
        log_daemon_msg "Stopping $DESC" "$NAME"
102 108
        stop_action $RAPI $RAPI_PID
103 109
        stop_action $MASTERD $MASTERD_PID
110
        stop_action $CONFD $CONFD_PID
104 111
        stop_action $NODED $NODED_PID
105 112
        ;;
106 113
    restart|force-reload)
107 114
        log_daemon_msg "Reloading $DESC"
108 115
        stop_action $RAPI $RAPI_PID
109 116
        stop_action $MASTERD $MASTERD_PID
117
        stop_action $CONFD $CONFD_PID
110 118
        stop_action $NODED $NODED_PID
111 119
        check_config
112 120
        start_action $NODED $NODED_PID $NODED_ARGS
113 121
        start_action $MASTERD $MASTERD_PID $MASTERD_ARGS
122
        start_action $CONFD $CONFD_PID $CONFD_ARGS
114 123
        start_action $RAPI $RAPI_PID $RAPI_ARGS
115 124
        ;;
116 125
    *)

Also available in: Unified diff