summaryrefslogtreecommitdiffstats
path: root/abs/core/xymon/logrotate-server.xymon
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2011-12-12 15:16:37 (GMT)
committerJames Meyer <james.meyer@operamail.com>2011-12-12 15:16:37 (GMT)
commit9f71a641425ac0a8b93d36a09be94c789bb1ec9e (patch)
tree5ebd9207ecca0f0e121ae6a166719a1d45b54d72 /abs/core/xymon/logrotate-server.xymon
parent8b05bc1e3fe1b0d6de459a5972d8828e4a579204 (diff)
downloadlinhes_pkgbuild-9f71a641425ac0a8b93d36a09be94c789bb1ec9e.zip
linhes_pkgbuild-9f71a641425ac0a8b93d36a09be94c789bb1ec9e.tar.gz
linhes_pkgbuild-9f71a641425ac0a8b93d36a09be94c789bb1ec9e.tar.bz2
xymon: add led theme
logrotate: send hup after rotate hbfunc: general rewrite hbnotes: better output formatting for the dot file, fix slave tuners in the dot file
Diffstat (limited to 'abs/core/xymon/logrotate-server.xymon')
-rw-r--r--abs/core/xymon/logrotate-server.xymon14
1 files changed, 14 insertions, 0 deletions
diff --git a/abs/core/xymon/logrotate-server.xymon b/abs/core/xymon/logrotate-server.xymon
new file mode 100644
index 0000000..e69c5d9
--- /dev/null
+++ b/abs/core/xymon/logrotate-server.xymon
@@ -0,0 +1,14 @@
+/var/log/hobbit/* {
+ missingok
+ daily
+ rotate 2
+ compress
+ postrotate
+ if [ -f /service/xymon-server/run ]
+ then
+ sv hup xymon-server 2&>1 > /dev/null
+ fi
+
+ endscript
+
+}