File zm.logrotate of Package ZoneMinder
/var/log/zm/*.log { su wwwrun www compress dateext maxage 165 rotate 4 size=+4096k notifempty missingok create 644 wwwrun www postrotate /usr/bin/systemctl reload zm.service > /dev/null endscript }
/var/log/zm/*.log { su wwwrun www compress dateext maxage 165 rotate 4 size=+4096k notifempty missingok create 644 wwwrun www postrotate /usr/bin/systemctl reload zm.service > /dev/null endscript }