mirror of
https://github.com/eliasstepanik/ark-ac-server-tools.git
synced 2026-01-12 19:08:27 +00:00
Save world before update
Not using isTheServerUp, as doSaveWorld should return immediately if the server is not up.
This commit is contained in:
parent
85325f2169
commit
38d9b4e977
@ -420,6 +420,8 @@ forceUpdate(){
|
||||
if isTheServerRunning ;then
|
||||
serverWasAlive=1
|
||||
fi
|
||||
echo "Saving world"
|
||||
doSaveWorld
|
||||
doStop
|
||||
cd "$steamcmdroot"
|
||||
./$steamcmdexec +login anonymous +force_install_dir "$arkserverroot" +app_update $appid +quit
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user