diff --git a/lgsm/functions/command_backup.sh b/lgsm/functions/command_backup.sh index e716b30da..620820932 100644 --- a/lgsm/functions/command_backup.sh +++ b/lgsm/functions/command_backup.sh @@ -73,7 +73,7 @@ fn_backup_stop_server(){ # Server is running and will be stopped if stoponbackup=on or unset. # If server is started elif [ "${status}" != "0" ]; then - fn_print_stop_warning + fn_print_restart_warning startserver="1" exitbypass=1 command_stop.sh diff --git a/lgsm/functions/command_validate.sh b/lgsm/functions/command_validate.sh index 8b7c16cd0..1ddded9c0 100644 --- a/lgsm/functions/command_validate.sh +++ b/lgsm/functions/command_validate.sh @@ -35,7 +35,7 @@ check.sh fn_print_dots "${remotelocation}" if [ "${status}" != "0" ]; then - fn_print_stop_warning + fn_print_restart_warning exitbypass=1 command_stop.sh fn_commandname diff --git a/lgsm/functions/core_messages.sh b/lgsm/functions/core_messages.sh index f3838ba80..ee4807bd5 100644 --- a/lgsm/functions/core_messages.sh +++ b/lgsm/functions/core_messages.sh @@ -530,17 +530,17 @@ fn_print_ascii_logo(){ echo -e "" } -fn_print_stop_warning(){ - fn_print_warn "${selfname} will be stopped" - fn_script_log_warn "${selfname} will be stopped" +fn_print_restart_warning(){ + fn_print_warn "${selfname} will be restarted" + fn_script_log_warn "${selfname} will be restarted" totalseconds=3 for seconds in {3..1}; do - fn_print_warn "${selfname} will be stopped: ${totalseconds}" + fn_print_warn "${selfname} will be restarted: ${totalseconds}" totalseconds=$((totalseconds - 1)) sleep 1 if [ "${seconds}" == "0" ]; then break fi done - fn_print_warn_nl "${selfname} will be stopped" + fn_print_warn_nl "${selfname} will be restarted" } diff --git a/lgsm/functions/update_factorio.sh b/lgsm/functions/update_factorio.sh index 95fb26052..e8b5c5e5c 100644 --- a/lgsm/functions/update_factorio.sh +++ b/lgsm/functions/update_factorio.sh @@ -102,7 +102,7 @@ fn_update_factorio_compare(){ fn_commandname # If server started. else - fn_print_stop_warning + fn_print_restart_warning exitbypass=1 command_stop.sh fn_commandname diff --git a/lgsm/functions/update_minecraft.sh b/lgsm/functions/update_minecraft.sh index 2b57dfb25..fad5d903f 100644 --- a/lgsm/functions/update_minecraft.sh +++ b/lgsm/functions/update_minecraft.sh @@ -162,7 +162,7 @@ fn_update_minecraft_compare(){ fn_commandname # If server started. else - fn_print_stop_warning + fn_print_restart_warning exitbypass=1 command_stop.sh fn_commandname diff --git a/lgsm/functions/update_minecraft_bedrock.sh b/lgsm/functions/update_minecraft_bedrock.sh index 40f853359..8f6193302 100644 --- a/lgsm/functions/update_minecraft_bedrock.sh +++ b/lgsm/functions/update_minecraft_bedrock.sh @@ -129,7 +129,7 @@ fn_update_minecraft_compare(){ fn_commandname # If server started. else - fn_print_stop_warning + fn_print_restart_warning exitbypass=1 command_stop.sh fn_commandname diff --git a/lgsm/functions/update_mta.sh b/lgsm/functions/update_mta.sh index 318571244..6f1250d6c 100644 --- a/lgsm/functions/update_mta.sh +++ b/lgsm/functions/update_mta.sh @@ -158,7 +158,7 @@ fn_update_mta_compare(){ fn_commandname # If server started. else - fn_print_stop_warning + fn_print_restart_warning exitbypass=1 command_stop.sh fn_commandname diff --git a/lgsm/functions/update_mumble.sh b/lgsm/functions/update_mumble.sh index 38a355b07..4b60b0cae 100644 --- a/lgsm/functions/update_mumble.sh +++ b/lgsm/functions/update_mumble.sh @@ -94,7 +94,7 @@ fn_update_mumble_compare(){ fn_commandname # If server started. else - fn_print_stop_warning + fn_print_restart_warning exitbypass=1 command_stop.sh fn_commandname diff --git a/lgsm/functions/update_steamcmd.sh b/lgsm/functions/update_steamcmd.sh index e2260a3e3..ca33d0dd2 100644 --- a/lgsm/functions/update_steamcmd.sh +++ b/lgsm/functions/update_steamcmd.sh @@ -185,7 +185,7 @@ fn_update_steamcmd_compare(){ fn_update_steamcmd_dl # If server started. else - fn_print_stop_warning + fn_print_restart_warning exitbypass=1 command_stop.sh fn_commandname @@ -276,7 +276,7 @@ fn_print_dots "${remotelocation}" if [ "${forceupdate}" == "1" ]; then # forceupdate bypasses update checks. if [ "${status}" != "0" ]; then - fn_print_stop_warning + fn_print_restart_warning exitbypass=1 command_stop.sh fn_commandname diff --git a/lgsm/functions/update_ts3.sh b/lgsm/functions/update_ts3.sh index e71f0b0fc..4f1168bb0 100644 --- a/lgsm/functions/update_ts3.sh +++ b/lgsm/functions/update_ts3.sh @@ -156,7 +156,7 @@ fn_update_ts3_compare(){ fn_commandname # If server started. else - fn_print_stop_warning + fn_print_restart_warning exitbypass=1 command_stop.sh fn_commandname