Print retention days
This commit is contained in:
@@ -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}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user