From c9c4b005cc0d9ff3367e0bda283d6023e60131a1 Mon Sep 17 00:00:00 2001 From: RandomNinjaAtk Date: Fri, 2 Sep 2022 16:33:42 -0400 Subject: [PATCH] Create run --- root/etc/services.d/extended_autoconfig/run | 12 ++++++++++++ 1 file changed, 12 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..8b1a102 --- /dev/null +++ b/root/etc/services.d/extended_autoconfig/run @@ -0,0 +1,12 @@ +#!/usr/bin/with-contenv bash +if [ "$enableAutoConfig" != "true" ]; then + echo "AutoConfig Script disabled, enable by setting parameter: enableAutoConfig=true" + sleep infinity +else + echo "Waiting for Radarr to startup..." + sleep 2m +fi + +echo "Starting Script...." +bash /config/extended/scripts/AutoConfig.bash +exit $?