diff options
Diffstat (limited to 'testing/php/logrotate.d.php-fpm')
-rw-r--r-- | testing/php/logrotate.d.php-fpm | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/testing/php/logrotate.d.php-fpm b/testing/php/logrotate.d.php-fpm index 7a1ba2597..b4fe083a8 100644 --- a/testing/php/logrotate.d.php-fpm +++ b/testing/php/logrotate.d.php-fpm @@ -1,6 +1,8 @@ /var/log/php-fpm.log { missingok + notifempty + delaycompress postrotate - /etc/rc.d/php-fpm logrotate >/dev/null || true + kill -USR1 `cat /var/run/php-fpm/php-fpm.pid 2>/dev/null` 2>/dev/null || true endscript } |