mirror of https://github.com/zulip/zulip.git
puppet: Add tusd daily logrotation.
This commit is contained in:
parent
2571196899
commit
7ddcf3774b
|
@ -45,6 +45,7 @@
|
||||||
# built-in log rotation.
|
# built-in log rotation.
|
||||||
/var/log/zulip/tornado-*.log
|
/var/log/zulip/tornado-*.log
|
||||||
/var/log/zulip/tornado.log
|
/var/log/zulip/tornado.log
|
||||||
|
/var/log/zulip/tusd.log
|
||||||
{
|
{
|
||||||
missingok
|
missingok
|
||||||
rotate <%= @access_log_retention_days %>
|
rotate <%= @access_log_retention_days %>
|
||||||
|
|
|
@ -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 program
|
user=zulip ; setuid to this UNIX account to run the program
|
||||||
redirect_stderr=true ; redirect proc stderr to stdout (default false)
|
redirect_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=/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_maxbytes=0 ; Rotated by logrotate
|
||||||
stdout_logfile_backups=10 ; # of stdout logfile backups (default 10)
|
stdout_logfile_backups=0
|
||||||
stopasgroup=true ; Without this, we leak processes every restart
|
stopasgroup=true ; Without this, we leak processes every restart
|
||||||
killasgroup=true ; Without this, we leak processes every restart
|
killasgroup=true ; Without this, we leak processes every restart
|
||||||
directory=/home/zulip/deployments/current/
|
directory=/home/zulip/deployments/current/
|
||||||
|
|
Loading…
Reference in New Issue