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

Commit 888a8c3

Browse files
committed
#703: documented new restart features
1 parent deee678 commit 888a8c3

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

deploy/lib/Help.rb

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,11 +213,14 @@ def self.restart
213213
214214
General options:
215215
-v, [--verbose] # Verbose output
216+
--no-verify # Skip verifying the restart
217+
--legacy # Don't use Management REST api
216218
217219
Restart the MarkLogic process in the given environment on each host in the
218220
specified group. If no group is specified, restart the MarkLogic process
219221
on each host in the group to which the target host belongs. Use 'cluster'
220-
to restart all hosts within the cluster to which the target belongs.
222+
to restart all hosts within the cluster to which the target belongs. Restart
223+
is verified by default, Management REST api is used if available.
221224
DOC
222225
end
223226

deploy/lib/server_config.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -605,7 +605,7 @@ def get_host_names
605605

606606
def restart
607607
# Default to verified restart
608-
verify = find_arg(['--verify']) != 'false'
608+
verify = find_arg(['--no-verify']) == nil && find_arg(['--verify']) != 'false'
609609
# Default to using Management Rest api (if available)
610610
legacy = find_arg(['--legacy']) != nil
611611

0 commit comments

Comments
 (0)