mirror of
https://github.com/ShaYmez/HBmonitor.git
synced 2025-11-30 11:43:26 -05:00
Update lastheard
fix directory for lastheard.log
This commit is contained in:
parent
8d2b00b452
commit
61e188b050
@ -1,5 +1,5 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
mv /opt/HBmonitor/lastheard.log /opt/HBmonitor/lastheard.log.save
|
mv /opt/HBmonitor/log/lastheard.log /opt/HBmonitor/log/lastheard.log.save
|
||||||
/usr/bin/tail -150 /opt/HBmonitor/lastheard.log.save > /opt/HBmonitor/lastheard.log
|
/usr/bin/tail -150 /opt/HBmonitor/log/lastheard.log.save > /opt/HBmonitor/log/lastheard.log
|
||||||
mv /opt/HBmonitor/lastheard.log /opt/HBmonitor/lastheard.log.save
|
mv /opt/HBmonitor/log/lastheard.log /opt/HBmonitor/log/lastheard.log.save
|
||||||
/usr/bin/tail -150 /opt/HBmonitor/lastheard.log.save > /opt/HBmonitor/lastheard.log
|
/usr/bin/tail -150 /opt/HBmonitor/log/lastheard.log.save > /opt/HBmonitor/log/lastheard.log
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user