diff options
| author | Mitchell Riedstra <mitch@riedstra.dev> | 2021-10-14 17:51:07 -0400 |
|---|---|---|
| committer | Mitchell Riedstra <mitch@riedstra.dev> | 2021-10-14 17:51:07 -0400 |
| commit | 702033100e08eeab04d02342cab41731cbcb977a (patch) | |
| tree | a1984f2e477335492a6ce0e0e70c850f912e306e | |
| parent | ff2970921da22fef7c149f5d565644c44991c4a3 (diff) | |
| download | dispatch-tracker-702033100e08eeab04d02342cab41731cbcb977a.tar.gz dispatch-tracker-702033100e08eeab04d02342cab41731cbcb977a.tar.xz | |
Tweak the entrypoint for slow systems.
| -rwxr-xr-x | entrypoint.sh | 7 |
1 files changed, 6 insertions, 1 deletions
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 "$@" |
