Update start.sh

pull/6/head
RandomNinjaAtk 2 years ago committed by GitHub
parent 601dd6e458
commit 95e577c0df
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -16,7 +16,7 @@ for (( ; ; )); do
rm "/config/logs/log-cleanup" rm "/config/logs/log-cleanup"
fi fi
touch -d "8 hours ago" "/config/logs/log-cleanup" touch -d "8 hours ago" "/config/logs/log-cleanup"
if find "/config/logs" -type f -iname "extended_script_run_*.txt" -not -newer "/config/extended/logs/log-cleanup" | read; then if find "/config/logs" -type f -iname "extended_script_run_*.txt" -not -newer "/config/logs/log-cleanup" | read; then
find "/config/logs" -type f -iname "*.log" -not -newer "/config/logs/log-cleanup" -delete find "/config/logs" -type f -iname "*.log" -not -newer "/config/logs/log-cleanup" -delete
fi fi
if [ -f "/config/logs/log-cleanup" ]; then if [ -f "/config/logs/log-cleanup" ]; then

Loading…
Cancel
Save