12 lines
195 B
Plaintext
12 lines
195 B
Plaintext
|
# nginx logrotate snipet for Gentoo Linux
|
||
|
|
||
|
/var/log/nginx/*.log {
|
||
|
rotate 52
|
||
|
weekly
|
||
|
notifempty
|
||
|
sharedscripts
|
||
|
postrotate
|
||
|
/etc/init.d/nginx reload > /dev/null 2>&1 || true
|
||
|
endscript
|
||
|
}
|