summaryrefslogtreecommitdiffstats
path: root/abs/core/php/logrotate.d.php-fpm
blob: ac2d92a3692e93adc29b6e688750b5a5af823c0a (plain)
1
2
3
4
5
6
7
8
/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
}