mirror of
https://github.com/ShaYmez/HBmonitor.git
synced 2024-11-24 16:58:47 -05:00
61e188b050
fix directory for lastheard.log
6 lines
344 B
Bash
6 lines
344 B
Bash
#!/bin/bash
|
|
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
|