summaryrefslogtreecommitdiffstats
path: root/abs/core/xymon/logrotate-client.xymon
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core/xymon/logrotate-client.xymon')
-rwxr-xr-x[-rw-r--r--]abs/core/xymon/logrotate-client.xymon21
1 files changed, 11 insertions, 10 deletions
diff --git a/abs/core/xymon/logrotate-client.xymon b/abs/core/xymon/logrotate-client.xymon
index a312b64..0fadb2e 100644..100755
--- a/abs/core/xymon/logrotate-client.xymon
+++ b/abs/core/xymon/logrotate-client.xymon
@@ -1,14 +1,15 @@
/home/xymon/client/logs/* {
- missingok
- size 512K
- rotate 0
- compress
- postrotate
- if [ -f /service/xymon-client/run ]
- then
- sv hup xymon-client
- fi
+ missingok
+ notifempty
+ size 512k
+ rotate 2
+ compress
+ postrotate
+ if [ -f /service/xymon-client/run ]
+ then
+ sv hup xymon-client
+ fi
- endscript
+ endscript
}