summaryrefslogtreecommitdiff
path: root/testing/php/logrotate.d.php-fpm
blob: b4fe083a8a70fa53c4a907889b5da695fd0d889a (plain)
1
2
3
4
5
6
7
8
/var/log/php-fpm.log {
	missingok
	notifempty
	delaycompress
	postrotate
		kill -USR1 `cat /var/run/php-fpm/php-fpm.pid 2>/dev/null` 2>/dev/null || true
	endscript
}