summaryrefslogtreecommitdiffstats
path: root/php-fpm.logrotate
blob: a8cfbc8699d3988dbc15360d434e46323e779fec (plain)
1
2
3
4
5
6
7
8
9
/var/log/php-fpm/*log {
    missingok
    notifempty
    sharedscripts
    delaycompress
    postrotate
	/bin/kill -SIGUSR1 `cat /var/run/php-fpm/php-fpm.pid 2>/dev/null` 2>/dev/null || true
    endscript
}