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

View File

@ -24,6 +24,10 @@ arkTimeToKeepBackupFiles="10" #Set to Auto
# Modify as desired, putting the %d replacement operator where the number belongs
msgWarnUpdateMinutes="This ARK server will shutdown for an update in %d minutes"
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>
# comment out these values if you want to define them