mirror of
https://github.com/eliasstepanik/ark-ac-server-tools.git
synced 2026-01-11 18:48:26 +00:00
Use pidfile for background update detection
This commit is contained in:
parent
b6ced467ba
commit
734e71de78
@ -1747,7 +1747,7 @@ doUpdate() {
|
||||
fi
|
||||
fi
|
||||
|
||||
if [[ -f "$arkserverroot/$arkautorestartfile" && "$arkserverroot/$arkautorestartfile" -ot "${arkserverroot}/steamapps/appmanifest_${appid}.acf" ]]; then
|
||||
if [[ -f "$arkserverroot/$arkmanagerpidfile" && "$arkserverroot/$arkmanagerpidfile" -ot "${arkserverroot}/steamapps/appmanifest_${appid}.acf" ]]; then
|
||||
logprint "Server was updated while it was running"
|
||||
bgupdate=1
|
||||
fi
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user