You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
333 B

#!/usr/bin/with-contenv bash
if [ "$autoStart" = "true" ] && [ "$enableERAScript" = "true" ]; then
echo "Waiting for Lidarr to startup..."
sleep 2m
else
sleep infinity
fi
echo "Starting Script...."
for (( ; ; )); do
let i++
bash /config/extended/scripts/ERA.sh
echo "Script sleeping for 24 hours..."
sleep 24h
done
exit $?