aboutsummaryrefslogtreecommitdiff
path: root/system/jenkins/files/logrotate.jenkins
blob: f1bc7f0f11e33e848dd9463829b44fe96f955f8d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/var/log/jenkins/jenkins.log /var/log/jenkins/jenkins_console.log {
    su jenkins jenkins
    compress
    dateext
    maxage 365
    rotate 99
    size=+4096k
    notifempty
    missingok
    create 644
    postrotate
     kill -s SIGALRM $(cat /var/run/jenkins.pid)
    endscript
}