Mini Shell

Direktori : /etc/logrotate.d/
Upload File :
Current File : //etc/logrotate.d/imunify360

/var/log/imunify360/captcha.log {
    # Keep 3 lotated files before removal
    rotate 3
    maxsize 50M
    hourly
    compress
    delaycompress

    nocreate
    missingok

    postrotate
        if systemctl status imunify360-captcha > /dev/null ; then \
            systemctl restart imunify360-captcha > /dev/null; \
        fi;
    endscript
}

Zerion Mini Shell 1.0