diff --git a/etc/logrotate.d/php-fpm b/etc/logrotate.d/php-fpm new file mode 100644 index 0000000..e8071eb --- /dev/null +++ b/etc/logrotate.d/php-fpm @@ -0,0 +1,8 @@ +/var/log/php*-fpm*.log { + rotate 1 + daily + missingok + notifempty + compress + delaycompress +} diff --git a/etc/logrotate.d/php7.3-fpm b/etc/logrotate.d/php7.3-fpm deleted file mode 100644 index de4d714..0000000 --- a/etc/logrotate.d/php7.3-fpm +++ /dev/null @@ -1,11 +0,0 @@ -/var/log/php7.3-fpm*.log { - rotate 1 - daily - missingok - notifempty - compress - delaycompress - postrotate - /usr/lib/php/php7.3-fpm-reopenlogs - endscript -}