This repository has been archived on 2022-10-07. You can view files and clone it, but cannot push or open issues or pull requests.
|
/usr/local/openresty/nginx/logs/*.log {
|
|
daily
|
|
dateext
|
|
rotate 3650
|
|
missingok
|
|
notifempty
|
|
nocompress
|
|
create 640 root root
|
|
sharedscripts
|
|
postrotate
|
|
[ ! -f /usr/local/openresty/nginx/logs/nginx.pid ] || kill -USR1 `cat /usr/local/openresty/nginx/logs/nginx.pid`
|
|
endscript
|
|
}
|