diff options
Diffstat (limited to 'abs/core/xymon/logrotate-client.xymon')
-rwxr-xr-x[-rw-r--r--] | abs/core/xymon/logrotate-client.xymon | 23 |
1 files changed, 12 insertions, 11 deletions
diff --git a/abs/core/xymon/logrotate-client.xymon b/abs/core/xymon/logrotate-client.xymon index a312b64..ba48a0f 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 +/home/xymon/client/logs/*.log { + missingok + notifempty + size 512k + rotate 2 + compress + postrotate + if [ -f /service/xymon-client/run ] + then + sv hup xymon-client + fi - endscript + endscript } |