From 90b3fe4c2f60ed7a59a42997fbb4d7542e3d1b34 Mon Sep 17 00:00:00 2001 From: Damien De Paoli Date: Sat, 25 Oct 2025 18:06:38 +1100 Subject: [PATCH] try to warm the cache to help with restart / traefik not noticing --- wrapper.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/wrapper.sh b/wrapper.sh index 34eb3f0..d91446a 100755 --- a/wrapper.sh +++ b/wrapper.sh @@ -13,6 +13,9 @@ else sudo -u pauser gunicorn --bind=0.0.0.0:80 --workers=1 --threads=1 main:app --env ENV="development" --error-logfile gunicorn.error.log --access-logfile gunicorn.log --capture-output --enable-stdio-inheritance --reload fi +# warm the cache to see if this helps with odd restart 404s +curl -sf http://localhost/health + # this should never be invoked unless gunicorn fails -- in that case, at least # we will keep the container can login by hand and check the issue/error sleep 99999