diff options
author | Holger Levsen <holger@layer-acht.org> | 2017-04-20 15:53:20 +0200 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2017-04-20 15:53:20 +0200 |
commit | 282a0a2accdcaea8df928ba1b9269f028564803e (patch) | |
tree | 7bb4db2e3c41c64e6a9a9c1a5cce7106acc4ef0c /hosts/jenkins/usr/lib/cgi-bin/nph-tail.cgi | |
parent | 725299cee516e7b16f073f7cf0e401be9fa7052d (diff) | |
download | jenkins.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/lib/cgi-bin/nph-tail.cgi')
-rw-r--r-- | hosts/jenkins/usr/lib/cgi-bin/nph-tail.cgi | 8 |
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 + |