mirror of
https://ceregatti.org/git/daniel/dayzdockerserver.git
synced 2025-05-06 14:21:18 +00:00
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:
parent
2754028504
commit
93f65760ac
3 changed files with 4 additions and 4 deletions
|
@ -1,5 +1,3 @@
|
|||
version: "3.3"
|
||||
|
||||
volumes:
|
||||
# For steamcmd files and resource files used by the scripts
|
||||
homedir_main:
|
||||
|
@ -79,4 +77,4 @@ services:
|
|||
# soft: -1
|
||||
# hard: -1
|
||||
env_file:
|
||||
- .env
|
||||
- .env
|
||||
|
|
|
@ -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
|
||||
};
|
||||
};
|
||||
|
|
|
@ -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")
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue