diff --git a/root/etc/services.d/extended_autoconfig/run b/root/etc/services.d/extended_autoconfig/run new file mode 100644 index 0000000..25a2ee4 --- /dev/null +++ b/root/etc/services.d/extended_autoconfig/run @@ -0,0 +1,13 @@ +#!/usr/bin/with-contenv bash +if [ "$configureLidarrWithOptimalSettings" != "true" ]; then + echo "AutoConfig.bash Script disabled, enable by setting parameter: configureLidarrWithOptimalSettings=true" + sleep infinity +else + echo "Waiting for Lidarr to startup..." + sleep 2m +fi + +echo "Starting AutoConfig.bash Script...." +bash /config/extended/scripts/AutoConfig.bash +sleep infinity +exit $?