php/php-fpm.logrotate

10 lines
203 B
Plaintext
Raw Permalink Normal View History

2022-05-17 09:05:29 +00:00
/var/log/php-fpm/*log {
missingok
notifempty
sharedscripts
delaycompress
postrotate
/bin/kill -SIGUSR1 `cat /run/php-fpm/php-fpm.pid 2>/dev/null` 2>/dev/null || true
endscript
}