nginx/nginx.logrotate
Petr Šabata 497c396bdb RHEL 9.0.0 Alpha bootstrap
The content of this branch was automatically imported from Fedora ELN
with the following as its source:
https://src.fedoraproject.org/rpms/nginx#bd726b71e50db2c0a3eabdfecd1ec3b8cfefeb08
2020-10-15 21:06:25 +02:00

14 lines
242 B
Plaintext

/var/log/nginx/*log {
create 0664 nginx root
daily
rotate 10
missingok
notifempty
compress
sharedscripts
postrotate
/bin/kill -USR1 `cat /run/nginx.pid 2>/dev/null` 2>/dev/null || true
endscript
}