Yuvipanda has submitted this change and it was merged. Change subject: tools: Make uwsgi behave properly on SIGTERM ......................................................................
tools: Make uwsgi behave properly on SIGTERM By default it does something really stupid (reloads process) on SIGTERM. This makes it do the right thing and die, so upstart can actually kill the processes Change-Id: I243737a13b705a97da1232387271f53cd1912378 --- M modules/toollabs/files/toolschecker.upstart 1 file changed, 2 insertions(+), 1 deletion(-) Approvals: Yuvipanda: Looks good to me, approved jenkins-bot: Verified diff --git a/modules/toollabs/files/toolschecker.upstart b/modules/toollabs/files/toolschecker.upstart index 2f7986c..6201950 100644 --- a/modules/toollabs/files/toolschecker.upstart +++ b/modules/toollabs/files/toolschecker.upstart @@ -13,7 +13,8 @@ --wsgi-file /usr/local/lib/python2.7/dist-packages/toolschecker.py \ --callable app \ --socket /run/toolschecker/toolschecker.sock \ - --chmod-socket 664 + --chmod-socket 664 \ + --die-on-term respawn respawn limit 10 5 -- To view, visit https://gerrit.wikimedia.org/r/208271 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: I243737a13b705a97da1232387271f53cd1912378 Gerrit-PatchSet: 2 Gerrit-Project: operations/puppet Gerrit-Branch: production Gerrit-Owner: Yuvipanda <yuvipa...@gmail.com> Gerrit-Reviewer: Yuvipanda <yuvipa...@gmail.com> Gerrit-Reviewer: jenkins-bot <> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits