Просмотр исходного кода

Closes #16043: Add 'die-on-term = true' to fix stopping uWSGI (#16045)

* Closes #16043: Add 'die-on-term = true' to fix stopping uWSGI

* Fix spelling
Markku Leiniö 1 год назад
Родитель
Сommit
0cc2963e6f
1 измененных файлов с 3 добавлено и 0 удалено
  1. 3 0
      contrib/uwsgi.ini

+ 3 - 0
contrib/uwsgi.ini

@@ -11,6 +11,9 @@ master = true
 ; clear environment on exit
 vacuum = true
 
+; make SIGTERM stop the app (instead of reload)
+die-on-term = true
+
 ; exit if no app can be loaded
 need-app = true