From d67551d7e664a1c8c2f782b60b8e33c7c0af167d Mon Sep 17 00:00:00 2001 From: RandomNinjaAtk Date: Tue, 8 Sep 2020 09:18:31 -0400 Subject: [PATCH] clear log files on startup --- root/etc/cont-init.d/33-script-setup.bash | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/root/etc/cont-init.d/33-script-setup.bash b/root/etc/cont-init.d/33-script-setup.bash index d8d691a..84bd859 100644 --- a/root/etc/cont-init.d/33-script-setup.bash +++ b/root/etc/cont-init.d/33-script-setup.bash @@ -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 $?