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