summaryrefslogtreecommitdiffstats
path: root/abs/core/xymon/logrotate-server.xymon
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2013-05-22 13:59:01 (GMT)
committerJames Meyer <james.meyer@operamail.com>2013-05-22 13:59:01 (GMT)
commitaf45a8d8c845649ef9ede55cd0204462cad0ad82 (patch)
tree85332fa12f3f2896516a60a3cc80cb7de90134b7 /abs/core/xymon/logrotate-server.xymon
parent7e6f7ca174e1af67178dc5293a312a4a733eb095 (diff)
downloadlinhes_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.xymon5
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 ]