php/php-fpm.logrotate

10 lines
207 B
Plaintext
Raw Normal View History

2010-10-10 18:19:10 +00:00
/var/log/php-fpm/*log {
missingok
notifempty
sharedscripts
delaycompress
postrotate
/bin/kill -SIGUSR1 `cat /var/run/php-fpm/php-fpm.pid 2>/dev/null` 2>/dev/null || true
endscript
}