Skip to content

Commit

Permalink
marklogic-community#703: documented new restart features
Browse files Browse the repository at this point in the history
  • Loading branch information
grtjn committed Jun 7, 2017
1 parent deee678 commit 888a8c3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion deploy/lib/Help.rb
Original file line number Diff line number Diff line change
Expand Up @@ -213,11 +213,14 @@ def self.restart
General options:
-v, [--verbose] # Verbose output
--no-verify # Skip verifying the restart
--legacy # Don't use Management REST api
Restart the MarkLogic process in the given environment on each host in the
specified group. If no group is specified, restart the MarkLogic process
on each host in the group to which the target host belongs. Use 'cluster'
to restart all hosts within the cluster to which the target belongs.
to restart all hosts within the cluster to which the target belongs. Restart
is verified by default, Management REST api is used if available.
DOC
end

Expand Down
2 changes: 1 addition & 1 deletion deploy/lib/server_config.rb
Original file line number Diff line number Diff line change
Expand Up @@ -605,7 +605,7 @@ def get_host_names

def restart
# Default to verified restart
verify = find_arg(['--verify']) != 'false'
verify = find_arg(['--no-verify']) == nil && find_arg(['--verify']) != 'false'
# Default to using Management Rest api (if available)
legacy = find_arg(['--legacy']) != nil

Expand Down

0 comments on commit 888a8c3

Please sign in to comment.