Anons79 Mini Shell

Directory : /etc/logrotate.d/
Upload File :
Current File : //etc/logrotate.d/pxp-agent

/var/log/puppetlabs/pxp-agent/*.log {
    daily
    missingok
    rotate 30
    compress
    delaycompress
    notifempty
    sharedscripts
    postrotate
        systemctl is-active --quiet pxp-agent.service && systemctl kill --signal=USR2 --kill-who=main pxp-agent.service
    endscript
}

Anons79 File Manager Version 1.0, Coded By Anons79
Email: [email protected]