/var/log/rasdaemon {
	compress
	monthly
	size 100M
	dateext
	rotate 4
	notifempty
	missingok
	copytruncate
	sharedscripts
	postrotate
		(/usr/bin/systemctl is-active --quiet syslog-ng.service && /usr/bin/systemctl kill -s HUP syslog-ng.service >/dev/null 2>&1) || true
		(/usr/bin/systemctl is-active --quiet rsyslog.service &&/usr/bin/systemctl kill -s HUP rsyslog.service >/dev/null 2>&1) || true
	endscript
}
