From 90b0f3dd95d7d9181e63aef6259723bb88a564d2 Mon Sep 17 00:00:00 2001 From: Johannes Zellner Date: Wed, 26 Apr 2023 13:13:05 +0200 Subject: [PATCH] Print retention days --- cleanup.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/cleanup.sh b/cleanup.sh index a030a3b..5c06908 100755 --- a/cleanup.sh +++ b/cleanup.sh @@ -6,12 +6,14 @@ echo "=> Cleanup" cd /app/code if [[ ! -f /app/data/cache-env.sh ]]; then - echo "==> Createing initial cache-env.sh" + echo "==> Creating initial cache-env.sh" cp /app/pkg/cache-env.sh.template /app/data/cache-env.sh fi source /app/data/cache-env.sh +echo "=> Retention days set to ${CACHE_RETENTION_DAYS}" + echo "==> media cache ..." ./bin/tootctl media remove --days=${CACHE_RETENTION_DAYS}