Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Richard Louapre authored and jmeekhof committed Oct 7, 2015
1 parent 0d82749 commit c9ce86f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions deploy/lib/server_config.rb
Original file line number Diff line number Diff line change
Expand Up @@ -515,6 +515,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
Expand Down

0 comments on commit c9ce86f

Please sign in to comment.