Linux technical support - [email protected]


centos 7 freepbx asterisk logrotate

/var/log/asterisk/full /var/log/asterisk/freepbx_debug /var/log/asterisk/freepbx.log /var/log/asterisk/freepbx_security.log {
        daily
        missingok
        rotate 14
        compress
        create 0775 asterisk asterisk
        notifempty
        sharedscripts
        postrotate
                /usr/sbin/asterisk -rx 'logger reload' > /dev/null 2> /dev/null
        endscript
        su root asterisk
}

Leave a Reply

Your email address will not be published.

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>