slackbuilds/system/jenkins/files/logrotate.jenkins

15 lines
285 B
Plaintext

/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
}