summaryrefslogtreecommitdiff
path: root/system/jenkins/files/logrotate.jenkins
diff options
context:
space:
mode:
authorGiorgio Peron <giorgio.peron@gmail.com>2011-07-23 21:55:25 -0500
committerNiels Horn <niels.horn@slackbuilds.org>2011-08-11 20:28:36 -0300
commitc1ddce54cbe423d1d875b0e15356507c2ed72cdb (patch)
tree32a9564778ead706b9f5cf70dbbeae3f4b899635 /system/jenkins/files/logrotate.jenkins
parentcc71fc06d022150180e4b96148d9931c52054c59 (diff)
downloadslackbuilds-c1ddce54cbe423d1d875b0e15356507c2ed72cdb.tar.gz
system/jenkins: Added (automated job monitor)
Thanks to Vincent Batts for some configs :-) Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'system/jenkins/files/logrotate.jenkins')
-rw-r--r--system/jenkins/files/logrotate.jenkins13
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
+}