From c2d101b946c753623c58495aa98c4049c754277b Mon Sep 17 00:00:00 2001 From: raynor Date: Sat, 17 Dec 2022 21:22:26 -0500 Subject: [PATCH] Auto restart in lieu of real health checks --- scripts/start-firehose.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/scripts/start-firehose.sh b/scripts/start-firehose.sh index ebc21cb..9a73ce6 100644 --- a/scripts/start-firehose.sh +++ b/scripts/start-firehose.sh @@ -21,5 +21,8 @@ then /scripts/run-firehose.sh & fi -## Don't let the container exit -while true; do sleep 1; done \ No newline at end of file +## We don't have a health check, so just exit after an hour +# If your docker file has restart: always on this should gracefully exit, and +# then restart +sleep 1h +exit 0 \ No newline at end of file