From 3c6c64a2115449fad7b323956331d439fb6fc016 Mon Sep 17 00:00:00 2001 From: RandomNinjaAtk Date: Sun, 12 Jun 2022 14:12:50 -0400 Subject: [PATCH] Create 99-start.bash --- root/etc/cont-init.d/99-start.bash | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 root/etc/cont-init.d/99-start.bash diff --git a/root/etc/cont-init.d/99-start.bash b/root/etc/cont-init.d/99-start.bash new file mode 100644 index 0000000..8afa373 --- /dev/null +++ b/root/etc/cont-init.d/99-start.bash @@ -0,0 +1,20 @@ +#!/usr/bin/with-contenv bash +echo "------------------------------------------------------------" +echo "|~) _ ._ _| _ ._ _ |\ |o._ o _ |~|_|_|" +echo "|~\(_|| |(_|(_)| | || \||| |_|(_||~| | |<" +echo "Presenets: lidarr-extended" +echo "------------------------------------------------------------" +echo "Donate: https://github.com/sponsors/RandomNinjaAtk" +echo "Project: https://github.com/RandomNinjaAtk/docker-lidarr-extended" +echo "Support: https://discord.gg/JumQXDc" +echo "------------------------------------------------------------" + +if [ "$autoStart" = "true" ]; then + echo "Automatic Start Enabled, starting..." + bash /scripts/start.sh +else + echo "Automatic Start Disabled, manually run using this command:" + echo "bash /scripts/start.sh" +fi + +exit $?