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