init script: allow singling out confd as well
authorGuido Trotter <ultrotter@google.com>
Thu, 22 Oct 2009 21:43:31 +0000 (17:43 -0400)
committerGuido Trotter <ultrotter@google.com>
Fri, 23 Oct 2009 13:10:15 +0000 (09:10 -0400)
Currently we can start/stop the various subdaemons, but not confd.

Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Olivier Tharan <olive@google.com>

doc/examples/ganeti.initd.in

index 235f84a..75e41ce 100644 (file)
@@ -99,6 +99,7 @@ maybe_do() {
 
 if [ -n "$2" -a \
     "$2" != "$NODED" -a \
+    "$2" != "$CONFD" -a \
     "$2" != "$MASTERD" -a \
     "$2" != "$RAPI" ]; then
     log_failure_msg "Unknown daemon '$2' requested"