A new user interface for you! Read more...

File jenkins.logrotate of Package jenkins

/var/log/jenkins/jenkins.log /var/log/jenkins/access_log {
    compress
    dateext
    maxage 365
    rotate 99
    size=+4096k
    notifempty
    missingok
    create 644
    su jenkins jenkins
    postrotate
        [ -r /etc/sysconfig/jenkins ] && source /etc/sysconfig/jenkins
        if [ -s /var/run/jenkins.pid ]; then
            JPID=`cat /var/run/jenkins.pid`
            test -n "`find /proc/$JPID -maxdepth 0 -user ${JENKINS_USER:-jenkins} 2>/dev/null`" && kill -s ALRM $JPID || :
        fi
    endscript
}