From 71ff8ecdff63aa842a5eccbb3da5efc5e568c406 Mon Sep 17 00:00:00 2001 From: brodokk Date: Sun, 30 May 2021 14:47:31 +0200 Subject: Add logs saved externally --- docker-compose.yml | 1 + entrypoint.sh | 3 ++- logs/.keep | 0 3 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 logs/.keep diff --git a/docker-compose.yml b/docker-compose.yml index 08393d6..2811d3b 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -12,6 +12,7 @@ services: BETA_KEY: *** volumes: - ./steam:/steam + - ./logs:/logs - ./config:/steam/740250/Config stdin_open: true tty: true diff --git a/entrypoint.sh b/entrypoint.sh index 417fa14..c5a49de 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -31,6 +31,7 @@ case "$arguments" in echo "Cleaning old stuff..." find /steam/${LAUNCH_APP}/Data/Assets -atime +7 -delete find /steam/${LAUNCH_APP}/Data/Cache -atime +7 -delete + find /Logs -atime +30 -delete echo "Run NeosVR headless client..." - cd /steam/${LAUNCH_APP}/ && mono Neos.exe;; + cd /steam/${LAUNCH_APP}/ && mono Neos.exe -l /logs;; esac diff --git a/logs/.keep b/logs/.keep new file mode 100644 index 0000000..e69de29 -- cgit v1.2.1