Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
puppet: Add tusd daily logrotation.
Alex Vandiver7ddcf3774b81
diff --git a/puppet/zulip/templates/logrotate/zulip.template.erb b/puppet/zulip/templates/logrotate/zulip.template.erbindex df859bfaacc..486a50fbfdf 100644--- a/puppet/zulip/templates/logrotate/zulip.template.erb+++ b/puppet/zulip/templates/logrotate/zulip.template.erb@@ -45,6 +45,7 @@# built-in log rotation./var/log/zulip/tornado-*.log/var/log/zulip/tornado.log+/var/log/zulip/tusd.log{missingokrotate <%= @access_log_retention_days %>diff --git a/puppet/zulip/templates/supervisor/zulip.conf.template.erb b/puppet/zulip/templates/supervisor/zulip.conf.template.erbindex ad5553ba26c..dbf510b6ed2 100644--- a/puppet/zulip/templates/supervisor/zulip.conf.template.erb+++ b/puppet/zulip/templates/supervisor/zulip.conf.template.erb@@ -35,8 +35,8 @@ stopwaitsecs=30 ; max num secs to wait b4 SIGKILL (default 10)user=zulip ; setuid to this UNIX account to run the programredirect_stderr=true ; redirect proc stderr to stdout (default false)stdout_logfile=/var/log/zulip/tusd.log ; stdout log path, NONE for none; default AUTO-stdout_logfile_maxbytes=100MB ; max # logfile bytes b4 rotation (default 50MB)-stdout_logfile_backups=10 ; # of stdout logfile backups (default 10)+stdout_logfile_maxbytes=0 ; Rotated by logrotate+stdout_logfile_backups=0stopasgroup=true ; Without this, we leak processes every restartkillasgroup=true ; Without this, we leak processes every restartdirectory=/home/zulip/deployments/current/