Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
puppet: Each worker should chdir after forking.
Alex Vandiver20b7a2d450e4
diff --git a/puppet/zulip/templates/uwsgi.ini.template.erb b/puppet/zulip/templates/uwsgi.ini.template.erbindex c43d66ec350..e3f5e20d26a 100644--- a/puppet/zulip/templates/uwsgi.ini.template.erb+++ b/puppet/zulip/templates/uwsgi.ini.template.erb@@ -18,6 +18,7 @@ stats=/home/zulip/deployments/uwsgi-stats<% if @uwsgi_rolling_restart != '' -%>master-fifo=/home/zulip/deployments/uwsgi-control+hook-post-fork=chdir:/home/zulip/deployments/current# lazy-apps are required for rolling restarts:# https://uwsgi-docs.readthedocs.io/en/latest/articles/TheArtOfGracefulReloading.html#preforking-vs-lazy-apps-vs-lazylazy-apps=true