Gracefully stop docker container when it receives SIGTERM (#368)

* add die-on-term option to uwsgi

* exec uwsgi in bootstrap.sh
This commit is contained in:
McKenna Jones
2023-01-07 11:49:11 -07:00
committed by GitHub
parent fee979a371
commit 7b03ceab98
2 changed files with 2 additions and 1 deletions

View File

@@ -22,4 +22,4 @@ if [ "$LD_DISABLE_BACKGROUND_TASKS" != "True" ]; then
fi
# Start uwsgi server
uwsgi --http :$LD_SERVER_PORT uwsgi.ini
exec uwsgi --http :$LD_SERVER_PORT uwsgi.ini