core/php/logrotate.d.php-fpm
2012-09-24 21:01:33 +00:00

9 lines
162 B
Plaintext

/var/log/php-fpm.log {
missingok
notifempty
delaycompress
postrotate
kill -USR1 `cat /run/php-fpm/php-fpm.pid 2>/dev/null` 2>/dev/null || true
endscript
}