Remove version from docker compose, as it seems this is obsolete.

Get status from a different file, as the previous file's stats were changing, and therefore unreliable.
Add Namalsk maps to config.
This commit is contained in:
Daniel Ceregatti 2024-03-22 23:10:21 -07:00
parent 2754028504
commit 93f65760ac
3 changed files with 4 additions and 4 deletions

View file

@ -1,5 +1,3 @@
version: "3.3"
volumes:
# For steamcmd files and resource files used by the scripts
homedir_main:

View file

@ -90,5 +90,7 @@ class Missions
// template="empty.banov"; // Banov
// template="empty.deerisle"; // Deer Isle
// template="serverMission.Pripyat"; // Pripyat
// template="hardcore.namalsk"; // Hardcore Namalsk
// template="regular.namalsk"; // Regular Namalsk
};
};

View file

@ -530,7 +530,7 @@ status(){
then
# Uptime
D=$(date +%s)
F=$(date +%s -r ${SERVER_PROFILE}/server_console.log)
F=$(date +%s -r /tmp/parameters)
DAYS=$(( (${D} - ${F}) / 86400 ))
UPTIME="${DAYS} days "$(date -d@$(($(date +%s) - $(date +%s -r /tmp/parameters))) -u +"%H hours %M minutes %S seconds")