From b4334d47113cd96e76c33e5bb442d3e077f768ea Mon Sep 17 00:00:00 2001 From: brodokk Date: Sun, 30 May 2021 14:46:19 +0200 Subject: Add cleaning --- entrypoint.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/entrypoint.sh b/entrypoint.sh index 713d82d..417fa14 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -28,6 +28,9 @@ case "$arguments" in echo "Run custom commands : ${arguments}" /bin/sh -c "$arguments";; *) - echo "Run NeosVR headless client" + echo "Cleaning old stuff..." + find /steam/${LAUNCH_APP}/Data/Assets -atime +7 -delete + find /steam/${LAUNCH_APP}/Data/Cache -atime +7 -delete + echo "Run NeosVR headless client..." cd /steam/${LAUNCH_APP}/ && mono Neos.exe;; esac -- cgit v1.2.1