diff options
author | Britney Fransen <brfransen@gmail.com> | 2013-10-16 20:41:16 (GMT) |
---|---|---|
committer | Britney Fransen <brfransen@gmail.com> | 2013-10-16 20:41:16 (GMT) |
commit | 4fb36a904c3818185105d2fe09adc512c46285c7 (patch) | |
tree | 56c1deb162824e4695133a955a6022e90282dd79 /abs/core/xymon/logrotate-client.xymon | |
parent | 2648e999d277eac5c3d331a3609bcc73fafbea71 (diff) | |
parent | 36f4b0be52fddbd5f491da90475e69c25bf6903f (diff) | |
download | linhes_pkgbuild-4fb36a904c3818185105d2fe09adc512c46285c7.zip linhes_pkgbuild-4fb36a904c3818185105d2fe09adc512c46285c7.tar.gz linhes_pkgbuild-4fb36a904c3818185105d2fe09adc512c46285c7.tar.bz2 |
Merge branch 'testing'
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 } |