Sindbad~EG File Manager

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

/var/log/imunify360/pam.log {
    daily
    # Unique unix-timestamp suffix so size-triggered same-day rotations don't
    # collide on hosts where /etc/logrotate.conf has dateext enabled.
    # %s is used (not %H%M%S) because logrotate on CentOS 7 doesn't support it.
    dateformat -%Y%m%d-%s
    maxsize 10M
    rotate 7
    compress
    delaycompress

    missingok
    notifempty
    copytruncate

    postrotate
    systemctl restart imunify360-pam > /dev/null
    endscript
}

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists