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

15 lines
236 B
Plaintext
Raw Normal View History

2016-02-24 01:27:23 +01:00
/var/log/nginx/*.log {
2017-04-25 19:29:54 +02:00
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
2016-02-24 01:27:23 +01:00
}