Update BeetsPostProcessor.bash

pull/139/head
RandomNinjaAtk 2 years ago committed by GitHub
parent 1211df697c
commit b87550088a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -22,8 +22,8 @@ if [ -f "/config/logs/BeetsPostProcessor.txt" ]; then
find /config/logs -type f -name "BeetsPostProcessor.txt" -size +1024k -delete find /config/logs -type f -name "BeetsPostProcessor.txt" -size +1024k -delete
sleep 0.5 sleep 0.5
fi fi
exec &> >(tee -a "/config/logs/BeetsPostProcessor.txt")
touch "/config/logs/BeetsPostProcessor.txt" touch "/config/logs/BeetsPostProcessor.txt"
exec &> >(tee -a "/config/logs/BeetsPostProcessor.txt")
chmod 666 "/config/logs/BeetsPostProcessor.txt" chmod 666 "/config/logs/BeetsPostProcessor.txt"
if [ "$lidarr_eventtype" == "Test" ]; then if [ "$lidarr_eventtype" == "Test" ]; then

Loading…
Cancel
Save