summaryrefslogtreecommitdiffstats
path: root/hosts/jenkins/usr
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2017-04-20 15:53:20 +0200
committerHolger Levsen <holger@layer-acht.org>2017-04-20 15:53:20 +0200
commit282a0a2accdcaea8df928ba1b9269f028564803e (patch)
tree7bb4db2e3c41c64e6a9a9c1a5cce7106acc4ef0c /hosts/jenkins/usr
parent725299cee516e7b16f073f7cf0e401be9fa7052d (diff)
downloadjenkins.debian.net-282a0a2accdcaea8df928ba1b9269f028564803e.tar.xz
save update_jdn output in /var/log/jenkins/update_jdn.log and logrotate it
Signed-off-by: Holger Levsen <holger@layer-acht.org>
Diffstat (limited to 'hosts/jenkins/usr')
-rw-r--r--hosts/jenkins/usr/lib/cgi-bin/nph-tail.cgi8
1 files changed, 8 insertions, 0 deletions
diff --git a/hosts/jenkins/usr/lib/cgi-bin/nph-tail.cgi b/hosts/jenkins/usr/lib/cgi-bin/nph-tail.cgi
new file mode 100644
index 00000000..66c6e601
--- /dev/null
+++ b/hosts/jenkins/usr/lib/cgi-bin/nph-tail.cgi
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+echo "HTTP/1.0 200 OK"
+echo "Connection: close"
+echo "Content-type: text/plain"
+echo ""
+tail -F /var/log/xymon/*.log
+