mirror of
https://github.com/zulip/zulip.git
synced 2026-07-03 21:10:12 +08:00
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. |
||
|---|---|---|
| .. | ||
| zulip | ||
| zulip_ops | ||