diff options
author | James Meyer <james.meyer@operamail.com> | 2013-05-22 13:59:01 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2013-05-22 13:59:01 (GMT) |
commit | af45a8d8c845649ef9ede55cd0204462cad0ad82 (patch) | |
tree | 85332fa12f3f2896516a60a3cc80cb7de90134b7 /abs/core/xymon/logrotate-server.xymon | |
parent | 7e6f7ca174e1af67178dc5293a312a4a733eb095 (diff) | |
download | linhes_pkgbuild-af45a8d8c845649ef9ede55cd0204462cad0ad82.zip linhes_pkgbuild-af45a8d8c845649ef9ede55cd0204462cad0ad82.tar.gz linhes_pkgbuild-af45a8d8c845649ef9ede55cd0204462cad0ad82.tar.bz2 |
xymon client/server: fix logrotate, so it doesn't create files like log.1.1.1.1.1.1.1..1.1.1.1.1 and use up all the inodes.
server: fix permissions on the snap reports
refs #921
Diffstat (limited to 'abs/core/xymon/logrotate-server.xymon')
-rw-r--r-- | abs/core/xymon/logrotate-server.xymon | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/abs/core/xymon/logrotate-server.xymon b/abs/core/xymon/logrotate-server.xymon index 2267da8..cdbf339 100644 --- a/abs/core/xymon/logrotate-server.xymon +++ b/abs/core/xymon/logrotate-server.xymon @@ -1,7 +1,8 @@ /var/log/hobbit/* { missingok - size 512K - rotate 0 + notifempty + size 512k + rotate 2 compress postrotate if [ -f /service/xymon-server/run ] |