core/php/logrotate.d.php-fpm
2014-11-12 12:10:28 +00:00

9 lines
170 B
Plaintext

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