Update Recyclarr.bash

pull/49/head
RandomNinjaAtk 2 years ago committed by GitHub
parent 27696bfdfe
commit 16dcf8ac42
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -18,12 +18,13 @@ if [ -f "/config/logs/Recyclarr.txt" ]; then
find /config/logs -type f -name "Recyclarr.txt" -size +1024k -delete
fi
exec &>> "/config/logs/Recyclarr.txt"
chmod 777 "/config/logs/Recyclarr.txt"
touch "/config/logs/Recyclarr.txt"
exec &> >(tee -a "/config/logs/Recyclarr.txt")
chmod 666 "/config/logs/Recyclarr.txt"
log () {
m_time=`date "+%F %T"`
echo $m_time" :: Recycalarr :: "$1
echo $m_time" :: Recycalarr :: $scriptVersion :: "$1
}
# Configure Yaml with URL and API Key

Loading…
Cancel
Save