diff options
author | Britney Fransen <brfransen@gmail.com> | 2013-07-27 03:36:47 (GMT) |
---|---|---|
committer | Britney Fransen <brfransen@gmail.com> | 2013-07-27 03:36:47 (GMT) |
commit | 86e356d2313e2419823056d798affc105b045136 (patch) | |
tree | 662104d764f066090123923d103fa26c41c9e8bf /abs/core/xymon/xymon.install | |
parent | 882870048573238516441e3cd6999fbfb0875462 (diff) | |
download | linhes_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-x | abs/core/xymon/xymon.install | 5 |
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* } |