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
     /etc/init.d/zm reload
    endscript
}
openSUSE Build Service is sponsored by