mirror of
https://github.com/eliasstepanik/ark-ac-server-tools.git
synced 2026-01-25 15:58:27 +00:00
Add restart / shutdown warning text to config
This commit is contained in:
parent
45ace77565
commit
c13afcb0d8
@ -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
|
||||||
|
|||||||
@ -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
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user