From 61e188b0502cf0f144d96a1a55cd483f967ca07c Mon Sep 17 00:00:00 2001 From: Waldek Date: Sat, 14 Sep 2019 21:13:22 +0200 Subject: [PATCH] Update lastheard fix directory for lastheard.log --- utils/lastheard | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/utils/lastheard b/utils/lastheard index 6dfbc9f..fc960b8 100644 --- a/utils/lastheard +++ b/utils/lastheard @@ -1,5 +1,5 @@ #!/bin/bash -mv /opt/HBmonitor/lastheard.log /opt/HBmonitor/lastheard.log.save -/usr/bin/tail -150 /opt/HBmonitor/lastheard.log.save > /opt/HBmonitor/lastheard.log -mv /opt/HBmonitor/lastheard.log /opt/HBmonitor/lastheard.log.save -/usr/bin/tail -150 /opt/HBmonitor/lastheard.log.save > /opt/HBmonitor/lastheard.log +mv /opt/HBmonitor/log/lastheard.log /opt/HBmonitor/log/lastheard.log.save +/usr/bin/tail -150 /opt/HBmonitor/log/lastheard.log.save > /opt/HBmonitor/log/lastheard.log +mv /opt/HBmonitor/log/lastheard.log /opt/HBmonitor/log/lastheard.log.save +/usr/bin/tail -150 /opt/HBmonitor/log/lastheard.log.save > /opt/HBmonitor/log/lastheard.log