Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
puppet: Always create a uwsgi master control socket.
Alex Vandivera522ad1d9ad4
diff --git a/puppet/zulip/manifests/app_frontend_base.pp b/puppet/zulip/manifests/app_frontend_base.ppindex 2e71a2f7ebb..88afea7f748 100644--- a/puppet/zulip/manifests/app_frontend_base.pp+++ b/puppet/zulip/manifests/app_frontend_base.pp@@ -119,12 +119,6 @@ class zulip::app_frontend_base {notify => Service[$zulip::common::supervisor_service],}- $uwsgi_rolling_restart = zulipconf('application_server', 'rolling_restart', '')- if $uwsgi_rolling_restart == '' {- file { '/home/zulip/deployments/uwsgi-control':- ensure => absent,- }- }$uwsgi_listen_backlog_limit = zulipconf('application_server', 'uwsgi_listen_backlog_limit', 128)$uwsgi_buffer_size = zulipconf('application_server', 'uwsgi_buffer_size', 8192)$uwsgi_processes = zulipconf('application_server', 'uwsgi_processes', $uwsgi_default_processes)diff --git a/puppet/zulip/templates/uwsgi.ini.template.erb b/puppet/zulip/templates/uwsgi.ini.template.erbindex 1578c47abbf..1dbbb8caa33 100644--- a/puppet/zulip/templates/uwsgi.ini.template.erb+++ b/puppet/zulip/templates/uwsgi.ini.template.erb@@ -15,6 +15,9 @@ chown-socket=zulip:zulipsocket=/home/zulip/deployments/uwsgi-socketlisten=<%= @uwsgi_listen_backlog_limit %>+# Create a control socket, allowing fancier runtime control+master-fifo=/home/zulip/deployments/uwsgi-control+# How many serving processes to fork@@ -47,9 +50,6 @@ hook-post-fork=chdir:/home/zulip/deployments/current# https://uwsgi-docs.readthedocs.io/en/latest/articles/TheArtOfGracefulReloading.html#preforking-vs-lazy-apps-vs-lazylazy-apps=true-# Create a control socket, allowing fancier runtime control-master-fifo=/home/zulip/deployments/uwsgi-control-<% end -%>