From 702033100e08eeab04d02342cab41731cbcb977a Mon Sep 17 00:00:00 2001 From: Mitchell Riedstra Date: Thu, 14 Oct 2021 17:51:07 -0400 Subject: Tweak the entrypoint for slow systems. --- entrypoint.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'entrypoint.sh') diff --git a/entrypoint.sh b/entrypoint.sh index 96380af..99d8843 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -219,7 +219,12 @@ run_uwsgi run_nginx set +x + +sleep 10 # Wait around a little bit before we start checking for the + # services since they don't start that quickly on slow systems. + # Bail out if a service stops, poll it every 30 seconds watchServices 30 -# or if you comment out the above, drop into a shell + +# or if you comment out the above, you can drop into a shell # exec /bin/ash "$@" -- cgit v1.2.3