|
|
@ -2,12 +2,11 @@
|
|
|
|
if [ "$enableQueueCleaner" != "true" ]; then
|
|
|
|
if [ "$enableQueueCleaner" != "true" ]; then
|
|
|
|
echo "QueueCleaner Script disabled, enable by setting parameter: enableQueueCleaner=true"
|
|
|
|
echo "QueueCleaner Script disabled, enable by setting parameter: enableQueueCleaner=true"
|
|
|
|
sleep infinity
|
|
|
|
sleep infinity
|
|
|
|
else
|
|
|
|
|
|
|
|
echo "Waiting for Radarr to startup..."
|
|
|
|
|
|
|
|
sleep 2m
|
|
|
|
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
echo "Starting Script...."
|
|
|
|
echo "Waiting for Lidarr to startup..."
|
|
|
|
|
|
|
|
sleep 2m
|
|
|
|
|
|
|
|
echo "Starting QueueCleaner Script...."
|
|
|
|
for (( ; ; )); do
|
|
|
|
for (( ; ; )); do
|
|
|
|
let i++
|
|
|
|
let i++
|
|
|
|
|
|
|
|
|
|
|
@ -17,4 +16,4 @@ for (( ; ; )); do
|
|
|
|
sleep 15m
|
|
|
|
sleep 15m
|
|
|
|
done
|
|
|
|
done
|
|
|
|
|
|
|
|
|
|
|
|
exit $?
|
|
|
|
exit
|
|
|
|