Mini Shell

Direktori : /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
}

Zerion Mini Shell 1.0