diff options
Diffstat (limited to 'logrotate.d.php-fpm')
-rw-r--r-- | logrotate.d.php-fpm | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/logrotate.d.php-fpm b/logrotate.d.php-fpm new file mode 100644 index 000000000000..2146ddd39ef0 --- /dev/null +++ b/logrotate.d.php-fpm @@ -0,0 +1,8 @@ +/var/log/php-fpm.log { + missingok + notifempty + delaycompress + postrotate + /bin/kill -SIGUSR1 `cat /run/php-fpm/php-fpm.pid 2>/dev/null` 2>/dev/null || true + endscript +} |