2007-03-24 18:31:48 +00:00
|
|
|
/var/log/nginx/*log {
|
2012-12-18 10:56:20 +00:00
|
|
|
create 0644 root nginx
|
2007-03-24 18:31:48 +00:00
|
|
|
daily
|
|
|
|
rotate 10
|
|
|
|
missingok
|
|
|
|
notifempty
|
|
|
|
compress
|
|
|
|
sharedscripts
|
|
|
|
postrotate
|
2012-12-18 10:56:20 +00:00
|
|
|
/bin/systemctl kill --signal=SIGUSR1 nginx.service
|
2007-03-24 18:31:48 +00:00
|
|
|
endscript
|
|
|
|
}
|
|
|
|
|