Skip to content
This repository has been archived by the owner on Nov 9, 2022. It is now read-only.

Commit

Permalink
Merge pull request #321 from dmcassel/dev
Browse files Browse the repository at this point in the history
#317 applying rlouapre's change to the dev branch
  • Loading branch information
dmcassel committed Dec 10, 2014
2 parents 4449f6e + 015b22f commit 7be7fef
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 @@ -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
Expand Down

0 comments on commit 7be7fef

Please sign in to comment.