vesta/install/rhel/6/logrotate/httpd

11 lines
283 B
Plaintext
Raw Permalink Normal View History

2013-03-10 13:31:13 +02:00
/var/log/httpd/*log /var/log/httpd/domains/*log {
missingok
notifempty
compress
sharedscripts
postrotate
/sbin/service httpd reload > /dev/null 2>/dev/null || true
[ ! -f /var/run/nginx.pid ] || kill -USR1 `cat /var/run/nginx.pid`
endscript
}