aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrodokk <brodokk@brodokk.space>2021-05-30 14:46:19 +0200
committerbrodokk <brodokk@brodokk.space>2021-05-30 14:46:19 +0200
commitb4334d47113cd96e76c33e5bb442d3e077f768ea (patch)
treeadad76636a04273764c2e80268fd8c3432670abc
parent317c6ffa2ea175a92e71feb5ab70b29ce2c19f1f (diff)
downloadneosvr_docker-b4334d47113cd96e76c33e5bb442d3e077f768ea.tar.xz
neosvr_docker-b4334d47113cd96e76c33e5bb442d3e077f768ea.zip
Add cleaning
Diffstat (limited to '')
-rw-r--r--entrypoint.sh5
1 files changed, 4 insertions, 1 deletions
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