From 6917e4cf30cdc0ad59894d6143734778c2e6c1f2 Mon Sep 17 00:00:00 2001 From: RandomNinjaAtk Date: Thu, 28 Jul 2022 20:17:55 -0400 Subject: [PATCH] disable autoStart until script is in better shape... --- root/etc/services.d/extended_video/run | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 root/etc/services.d/extended_video/run diff --git a/root/etc/services.d/extended_video/run b/root/etc/services.d/extended_video/run new file mode 100644 index 0000000..ad2a1ec --- /dev/null +++ b/root/etc/services.d/extended_video/run @@ -0,0 +1,24 @@ +#!/usr/bin/with-contenv bash +echo "-----------------------------------------------------------------------------" +echo " |~) _ ._ _| _ ._ _ |\ |o._ o _ |~|_|_|" +echo " |~\(_|| |(_|(_)| | || \||| |_|(_||~| | |<" +echo " Presents: lidarr-extended" +echo " Docker Version: $dockerVersion" +echo " May the vidz be with you!" +echo "-----------------------------------------------------------------------------" +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 "-----------------------------------------------------------------------------" +autoStart=false +if [ "$autoStart" = "true" ]; then + echo "Automatic Start Enabled, starting in 2 min..." + sleep 2m + bash /config/extended/scripts/start_video.sh +else + echo "Automatic Start Disabled, manually run using this command:" + echo "bash /config/extended/scripts/start_video.sh" + sleep infinity +fi + +exit $?