From 015b22fc825d3d9c6aa9a77a3657fb1308e9e004 Mon Sep 17 00:00:00 2001 From: Dave Cassel Date: Wed, 10 Dec 2014 09:19:47 -0500 Subject: [PATCH] #317 applying rlouapre's change to the dev branch --- deploy/lib/server_config.rb | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/deploy/lib/server_config.rb b/deploy/lib/server_config.rb index b295d308..3b2f098e 100644 --- a/deploy/lib/server_config.rb +++ b/deploy/lib/server_config.rb @@ -400,6 +400,11 @@ def execute_query(query, properties = {}) def restart group = ARGV.shift + # Exclude any argument passed from command line. + if group.index("-") == 0 + group = nil + end + if group logger.info "Restarting MarkLogic Server group #{group} on #{@hostname}" else