metisvela / sailtrack-core

Central component of the SailTrack system, it manages connections and gathers data.
GNU General Public License v3.0
12 stars 0 forks source link

Fix `Automation_Custom_Script.sh` #26

Closed matteocarnelos closed 6 months ago

matteocarnelos commented 6 months ago

Quick fix of the broken Automation_Custom_Script.sh due to grafana/grafana#66967.

Moreover, I improved the log monitoring experience for the first run setup. In particular, during the first run setup the logs are stored in multiple .log files. Jumping between those files with tail -f is cumbersome and slow. Fortunately, tail gives the possibility to specify multiple files (even using glob patterns) and it will monitor all of them all at once.

The fix has been tested on a Raspberry Pi 4 and the first run setup completes successfully.

@Magform it should be a very quick review 😉

Magform commented 6 months ago

Everything looks perfect, I proceed with the merge