mirror of
https://github.com/ShaYmez/HBmonitor.git
synced 2026-06-04 23:14:54 -04:00
Update lastheard
fix directory for lastheard.log
This commit is contained in:
+4
-4
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user