diff --git a/root/etc/services.d/extended/run b/root/etc/services.d/extended/run index 1a6048f..31bfd7c 100644 --- a/root/etc/services.d/extended/run +++ b/root/etc/services.d/extended/run @@ -11,7 +11,7 @@ echo "Project: https://github.com/RandomNinjaAtk/docker-lidarr-extended" echo "Support: https://github.com/RandomNinjaAtk/docker-lidarr-extended/discussions" echo "-----------------------------------------------------------------------------" -if [ "$autoStart" = "true" ]; then +if [ "$autoStart" = "true" ] && [ "$enableAudioScript" = "true" ]; then echo "Automatic Start Enabled, starting in 2 min..." sleep 2m bash /config/extended/scripts/start_audio.sh diff --git a/root/etc/services.d/extended_video/run b/root/etc/services.d/extended_video/run index be2b6e6..3277a65 100644 --- a/root/etc/services.d/extended_video/run +++ b/root/etc/services.d/extended_video/run @@ -10,7 +10,7 @@ echo "Donate: https://github.com/sponsors/RandomNinjaAtk" echo "Project: https://github.com/RandomNinjaAtk/docker-lidarr-extended" echo "Support: https://github.com/RandomNinjaAtk/docker-lidarr-extended/discussions" echo "-----------------------------------------------------------------------------" -if [ "$autoStart" = "true" ]; then +if [ "$autoStart" = "true" ] && [ "$enableVideoScript" = "true" ]; then echo "Automatic Start Enabled, starting in 2 min..." sleep 2m bash /config/extended/scripts/start_video.sh