Enable script disabling...

https://github.com/RandomNinjaAtk/arr-scripts/issues/1 - Fix
pull/226/head
RandomNinjaAtk 2 years ago committed by GitHub
parent 8618be4e17
commit 15ae5634c8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1,2 +1,8 @@
#!/usr/bin/with-contenv bash
bash /config/extended/scripts/QueueCleaner.bash
if [ "$enableQueueCleaner" != "true" ]; then
echo "QueueCleaner.bash Script disabled, enable by setting parameter: enableQueueCleaner=true"
sleep infinity
else
bash /config/extended/scripts/QueueCleaner.bash
fi
exit

Loading…
Cancel
Save