ganeti.initd: Pass $*_ARGS to programs when restarting them
authorMichael Hanselmann <hansmi@google.com>
Fri, 17 Jul 2009 15:09:33 +0000 (17:09 +0200)
committerMichael Hanselmann <hansmi@google.com>
Fri, 17 Jul 2009 15:23:09 +0000 (17:23 +0200)
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>

doc/examples/ganeti.initd.in

index b346530..d09ac73 100644 (file)
@@ -109,9 +109,9 @@ case "$1" in
         stop_action $MASTERD $MASTERD_PID
         stop_action $NODED $NODED_PID
         check_config
-        start_action $NODED $NODED_PID
-        start_action $MASTERD $MASTERD_PID
-        start_action $RAPI $RAPI_PID
+        start_action $NODED $NODED_PID $NODED_ARGS
+        start_action $MASTERD $MASTERD_PID $MASTERD_ARGS
+        start_action $RAPI $RAPI_PID $RAPI_ARGS
         ;;
     *)
         log_success_msg "Usage: $SCRIPTNAME {start|stop|force-reload|restart}"