From 20987235fb5fd35c9293a6b812dd5858cc0c5d00 Mon Sep 17 00:00:00 2001 From: RandomNinjaAtk Date: Fri, 4 Nov 2022 07:07:30 -0400 Subject: [PATCH] Create run --- root/etc/services.d/extended_autoconfig/run | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 root/etc/services.d/extended_autoconfig/run 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 $?