Add restart / shutdown warning text to config

This commit is contained in:
Ben Peddell 2015-12-11 10:35:52 +10:00
parent 45ace77565
commit c13afcb0d8
2 changed files with 4 additions and 3 deletions

View File

@ -1542,7 +1542,6 @@ while true; do
;; ;;
stop) stop)
if [ " ${options[*]} " =~ " --all " ]; then if [ " ${options[*]} " =~ " --all " ]; then
if [ "$2" == "--all" ]; then
doStopAll doStopAll
shift shift
else else
@ -1551,7 +1550,6 @@ while true; do
;; ;;
restart) restart)
if [ " ${options[*]} " =~ " --all " ]; then if [ " ${options[*]} " =~ " --all " ]; then
if [ "$2" == "--all" ]; then
doStopAll doStopAll
else else
doStop restart "${options[@]}" doStop restart "${options[@]}"
@ -1559,7 +1557,6 @@ while true; do
echo "`timestamp`: stop" >> "$logdir/$arkmanagerLog" echo "`timestamp`: stop" >> "$logdir/$arkmanagerLog"
sleep 1 sleep 1
if [ " ${options[*]} " =~ " --all " ]; then if [ " ${options[*]} " =~ " --all " ]; then
if [ "$2" == "--all" ]; then
doStartAll doStartAll
shift shift
else else

View File

@ -24,6 +24,10 @@ arkTimeToKeepBackupFiles="10" #Set to Auto
# Modify as desired, putting the %d replacement operator where the number belongs # Modify as desired, putting the %d replacement operator where the number belongs
msgWarnUpdateMinutes="This ARK server will shutdown for an update in %d minutes" msgWarnUpdateMinutes="This ARK server will shutdown for an update in %d minutes"
msgWarnUpdateSeconds="This ARK server will shutdown for an update in %d seconds" msgWarnUpdateSeconds="This ARK server will shutdown for an update in %d seconds"
msgWarnRestartMinutes="This ARK server will shutdown for a restart in %d minutes"
msgWarnRestartSeconds="This ARK server will shutdown for a restart in %d seconds"
msgWarnShutdownMinutes="This ARK server will shutdown in %d minutes"
msgWarnShutdownSeconds="This ARK server will shutdown in %d seconds"
# ARK server options - use ark_<optionname>=<value> # ARK server options - use ark_<optionname>=<value>
# comment out these values if you want to define them # comment out these values if you want to define them