diff --git a/flaresolverr/rootfs/etc/cont-init.d/99-run.sh b/flaresolverr/rootfs/etc/cont-init.d/99-run.sh index 45db9cf5e..e25b51762 100755 --- a/flaresolverr/rootfs/etc/cont-init.d/99-run.sh +++ b/flaresolverr/rootfs/etc/cont-init.d/99-run.sh @@ -1,11 +1,11 @@ #!/usr/bin/env bashio # shellcheck shell=bash -set -e +set -euo pipefail -bashio::log.warning "Warning - minimum configuration recommended : 2 cpu cores and 4 GB of memory. Otherwise the system will become unresponsive and crash." +bashio::log.warning "Warning - minimum configuration recommended: 2 CPU cores and 4 GB of memory. Otherwise the system may become unresponsive or crash." ############## # LAUNCH APP # ############## -python -u /app/flaresolverr.py +exec /usr/bin/dumb-init -- python -u /app/flaresolverr.py