mirror of
https://github.com/ShaYmez/HBmonitor.git
synced 2024-11-21 15:41:52 -05:00
Update lastheard
fix directory for lastheard.log
This commit is contained in:
parent
8d2b00b452
commit
61e188b050
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user