diff options
Diffstat (limited to 'system/jenkins/files/logrotate.jenkins')
-rw-r--r-- | system/jenkins/files/logrotate.jenkins | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/system/jenkins/files/logrotate.jenkins b/system/jenkins/files/logrotate.jenkins new file mode 100644 index 0000000000..f6b40db07b --- /dev/null +++ b/system/jenkins/files/logrotate.jenkins @@ -0,0 +1,13 @@ +/var/log/jenkins/jenkins.log /var/log/jenkins/jenkins_console.log { + compress + dateext + maxage 365 + rotate 99 + size=+4096k + notifempty + missingok + create 644 + postrotate + kill -s SIGALRM `cat /var/run/jenkins.pid` + endscript +} |