mirror of https://github.com/zulip/zulip.git
15c58cce5a
All of `/var/log/nginx/` is chown'd to `zulip` and the nginx processes themselves run as `nginx`, and would thus (on their own) create new logfiles as `zulip`. Having `logrotate` create them as the package default of `www-data` means that they are momentarily unreadable by the `zulip` user just after rotation, which can cause problems with logtail scripts. Commit the standard `nginx` logrotate configuration, but with the `zulip` user instead of the `www-data` user. |
||
---|---|---|
.. | ||
apache | ||
cron.d | ||
logrotate | ||
nagios_plugins | ||
nginx | ||
postfix | ||
postgresql | ||
rabbitmq | ||
sasl2 | ||
supervisor/conf.d | ||
limits.conf |