Update and rename root/etc/services.d/extended/run to root/etc/services.d/extended_audio/run

pull/139/head
RandomNinjaAtk 2 years ago committed by GitHub
parent 90946be803
commit 90e4392c8c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1,24 +0,0 @@
#!/usr/bin/with-contenv bash
echo "-----------------------------------------------------------------------------"
echo " |~) _ ._ _| _ ._ _ |\ |o._ o _ |~|_|_|"
echo " |~\(_|| |(_|(_)| | || \||| |_|(_||~| | |<"
echo " Presents: lidarr-extended"
echo " Docker Version: $dockerVersion"
echo " May the beats 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 "-----------------------------------------------------------------------------"
if [ "$autoStart" = "true" ] && [ "$enableAudioScript" = "true" ]; then
echo "Automatic Start Enabled, starting in 2 min..."
sleep 2m
bash /config/extended/scripts/start_audio.sh
else
echo "Automatic Start Disabled, manually run using this command:"
echo "bash /config/extended/scripts/start_audio.sh"
sleep infinity
fi
exit $?

@ -0,0 +1,12 @@
#!/usr/bin/with-contenv bash
if [ "$autoStart" = "true" ] && [ "$enableAudioScript" = "true" ]; then
echo "Automatic Start Enabled, starting in 2 min..."
sleep 2m
bash /config/extended/scripts/audio.sh
else
echo "Automatic Start Disabled, manually run using this command:"
echo "bash /config/extended/scripts/audio.sh"
sleep infinity
fi
exit $?
Loading…
Cancel
Save