/var/log/php-fpm-rt-error.log
{
	maxsize 1G
	missingok
	daily
	rotate 30
	compress
	compresscmd /usr/bin/ionice
	compressoptions -c3 /usr/bin/zstd -1 -T2
	compressext .zst
	delaycompress
	notifempty
	dateext
	dateformat .%Y%m%d-%s
	sharedscripts
	postrotate
		if [ -f /run/php/php7.4-fpm.pid ]; then
			/bin/kill -SIGUSR1 `cat /run/php/php7.4-fpm.pid`
		fi
	endscript

}
