forked from mirror/fake-firehose
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 &
|
/scripts/run-firehose.sh &
|
||||||
fi
|
fi
|
||||||
|
|
||||||
## Don't let the container exit
|
## We don't have a health check, so just exit after an hour
|
||||||
while true; do sleep 1; done
|
# 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