Graceful shutdown handling
2018-06-22:
Improvements from parent image:
-
Make uWSGI require an app to run, instead of going in "full dynamic mode" while there was an error. Supervisord doesn't terminate itself but tries to restart uWSGI and shows the errors. Uses
need-app
as suggested by luckydonald in this comment. -
Correctly handled graceful shutdown of uWSGI and Nginx. Thanks to desaintmartin in this PR.