File nginx.logrotate of Package nginx-testing
x
1
/var/log/nginx/*log {
2
daily
3
rotate 10
4
missingok
5
notifempty
6
compress
7
sharedscripts
8
postrotate
9
[ ! -f /var/run/nginx.pid ] || kill -USR1 `cat /var/run/nginx.pid`
10
endscript
11
}
12
13