summaryrefslogtreecommitdiffstats
path: root/abs/core/xymon/xymon.install
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2013-07-27 03:36:47 (GMT)
committerBritney Fransen <brfransen@gmail.com>2013-07-27 03:36:47 (GMT)
commit86e356d2313e2419823056d798affc105b045136 (patch)
tree662104d764f066090123923d103fa26c41c9e8bf /abs/core/xymon/xymon.install
parent882870048573238516441e3cd6999fbfb0875462 (diff)
downloadlinhes_pkgbuild-86e356d2313e2419823056d798affc105b045136.zip
linhes_pkgbuild-86e356d2313e2419823056d798affc105b045136.tar.gz
linhes_pkgbuild-86e356d2313e2419823056d798affc105b045136.tar.bz2
xymon: Make logrotate wildcard more restrictive so multiple .1 files aren't created. refs #913.
Change the name of the mtc log to mtc.log. Remove the old mtc log and mtc.1 files.
Diffstat (limited to 'abs/core/xymon/xymon.install')
-rwxr-xr-xabs/core/xymon/xymon.install5
1 files changed, 3 insertions, 2 deletions
diff --git a/abs/core/xymon/xymon.install b/abs/core/xymon/xymon.install
index 90af45b..62feb36 100755
--- a/abs/core/xymon/xymon.install
+++ b/abs/core/xymon/xymon.install
@@ -32,8 +32,9 @@ post_install() {
chown root /home/xymon/server/bin/xymonping
chmod +s /home/xymon/server/bin/xymonping
-
-
+ #remove old mtc log files
+ rm -f /var/log/hobbit/mtc
+ rm -f /var/log/hobbit/mtc.1*
}