Browse Source

Merge branch 'hotfix/180908.2'

pull/2026/head 180908.2
Daniel Gibbs 7 years ago
parent
commit
7861c37fd4
  1. 2
      lgsm/functions/command_stop.sh

2
lgsm/functions/command_stop.sh

@ -14,7 +14,7 @@ fn_stop_graceful_ctrlc(){
fn_print_dots "Graceful: CTRL+c"
fn_script_log_info "Graceful: CTRL+c"
# sends quit
tmux send-keys C-c -t "${servicename}" > /dev/null 2>&1
tmux send-keys -t "${servicename}" C-c > /dev/null 2>&1
# waits up to 30 seconds giving the server time to shutdown gracefuly
for seconds in {1..30}; do
check_status.sh

Loading…
Cancel
Save