milis/talimatname/genel/n/nginx/nginx.logrotate

15 lines
236 B
Plaintext
Raw Normal View History

2018-06-09 00:06:58 +02:00
/var/log/nginx/*.log {
su @USER@ @GROUP@
daily
missingok
rotate 52
compress
delaycompress
notifempty
create 640 nginx adm
sharedscripts
postrotate
[ -f /var/run/nginx.pid ] && kill -USR1 `cat /var/run/nginx.pid`
endscript
}