/var/log/imunify360/php-daemon_db.log {
# Keep 3 lotated files before removal
rotate 3
maxsize 150M
hourly
compress
delaycompress
nocreate
missingok
postrotate
if systemctl status imunify360-php-daemon > /dev/null ; then \
systemctl restart imunify360-php-daemon > /dev/null; \
fi;
endscript
}