????

Your IP : 18.221.153.253


Current Path : /etc/logrotate.d/
Upload File :
Current File : //etc/logrotate.d/imunify360-wafd

/var/log/imunify360/imunify360-wafd.log {
    daily
    missingok
    notifempty
    size 30k
    compress
    delaycompress
    rotate 14
    create 0600 root root
    postrotate
        wafd_pid=$(pidof /usr/sbin/wafd_imunify_daemon)
        if [ -n "$wafd_pid" ];then
            kill -USR2 $wafd_pid || :
        fi
    endscript
}

/var/log/imunify360/modsec_audit.log {
    rotate 15
    size=300M
    missingok
    compress
    postrotate
        wafd_pid=$(pidof /usr/sbin/wafd_imunify_daemon)
        if [ -n "$wafd_pid" ];then
            kill -USR2 $wafd_pid || :
        fi
    endscript
}