logrotate script and cache dir
This commit is contained in:
11
www-servers/nginx/files/nginx.logrotate
Normal file
11
www-servers/nginx/files/nginx.logrotate
Normal file
@@ -0,0 +1,11 @@
|
||||
# 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
|
||||
}
|
Reference in New Issue
Block a user