diff --git a/root/etc/services.d/extended_queuecleaner/run b/root/etc/services.d/extended_queuecleaner/run index 75ccf36..cf71239 100644 --- a/root/etc/services.d/extended_queuecleaner/run +++ b/root/etc/services.d/extended_queuecleaner/run @@ -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