clear log files on startup

pull/11/head
RandomNinjaAtk 4 years ago committed by GitHub
parent 707d29803d
commit d67551d7e6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -22,4 +22,12 @@ if [ ! -f /config/scripts/audio-pp.bash ]; then
chown abc:abc /config/scripts/audio-pp.bash
fi
if [ -f /config/scripts/logs/audio-pp.log ]; then
rm /config/scripts/logs/audio-pp.log
fi
if [ -f /config/scripts/logs/video-pp.log ]; then
rm /config/scripts/logs/video-pp.log
fi
exit $?

Loading…
Cancel
Save