mirror of
https://github.com/raynormast/fake-firehose.git
synced 2025-01-02 21:25:54 +00:00
Auto restart in lieu of real health checks
This commit is contained in:
parent
ccfbbc1997
commit
c2d101b946
1 changed files with 5 additions and 2 deletions
|
@ -21,5 +21,8 @@ then
|
|||
/scripts/run-firehose.sh &
|
||||
fi
|
||||
|
||||
## Don't let the container exit
|
||||
while true; do sleep 1; done
|
||||
## 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
|
Loading…
Reference in a new issue