summaryrefslogtreecommitdiffstats
path: root/abs/core/xymon/logrotate-client.xymon
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core/xymon/logrotate-client.xymon')
-rw-r--r--abs/core/xymon/logrotate-client.xymon14
1 files changed, 14 insertions, 0 deletions
diff --git a/abs/core/xymon/logrotate-client.xymon b/abs/core/xymon/logrotate-client.xymon
new file mode 100644
index 0000000..e1051aa
--- /dev/null
+++ b/abs/core/xymon/logrotate-client.xymon
@@ -0,0 +1,14 @@
+/data/srv/xymon/client/logs/* {
+ missingok
+ daily
+ rotate 2
+ compress
+ postrotate
+ if [ -f /service/xymon-client/run ]
+ then
+ sv hup xymon-client
+ fi
+
+ endscript
+
+}