# logrotate file for PacketFence

/usr/local/pf/logs/*log {
    daily
    rotate 90
    missingok
    compress
    create 640 pf pf
    copytruncate

    # This following line is required for RHEL / CentOS 7 but will be ignored on RHEL / CentOS 6
    su pf pf
}

/usr/local/pf/logs/httpd.*.access /usr/local/pf/logs/httpd.*.error /usr/local/pf/logs/httpd.*.catalyst {
    daily
    rotate 90
    missingok
    compress
    create 640 pf pf
    copytruncate

    # This following line is required for RHEL / CentOS 7 but will be ignored on RHEL / CentOS 6
    su pf pf
}
