summaryrefslogtreecommitdiff
path: root/extra/php/logrotate.d.php-fpm
blob: 2146ddd39ef009d5f55001741ce06d77d70748d6 (plain)
1
2
3
4
5
6
7
8
/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
}