aboutsummaryrefslogtreecommitdiff
path: root/entrypoint.sh
diff options
context:
space:
mode:
authorbrodokk <brodokk@brodokk.space>2021-05-30 14:47:31 +0200
committerbrodokk <brodokk@brodokk.space>2021-05-30 14:47:31 +0200
commit71ff8ecdff63aa842a5eccbb3da5efc5e568c406 (patch)
tree1e4affcad4df507b1e321fa3abf24077186261c1 /entrypoint.sh
parentb4334d47113cd96e76c33e5bb442d3e077f768ea (diff)
downloadneosvr_docker-71ff8ecdff63aa842a5eccbb3da5efc5e568c406.tar.xz
neosvr_docker-71ff8ecdff63aa842a5eccbb3da5efc5e568c406.zip
Add logs saved externally
Diffstat (limited to 'entrypoint.sh')
-rw-r--r--entrypoint.sh3
1 files changed, 2 insertions, 1 deletions
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