if the service fails to start, reinstall mlat-client / readsb on next run

This commit is contained in:
Matthias Wirth 2022-04-12 17:19:37 +02:00
commit 3bb76f6f28

View file

@ -294,6 +294,7 @@ fi
echo 94
systemctl is-active adsbexchange-feed || {
rm -f $IPATH/readsb_version
echo "---------------------------------"
journalctl -u adsbexchange-feed | tail -n10
echo "---------------------------------"
@ -305,6 +306,7 @@ systemctl is-active adsbexchange-feed || {
echo 96
systemctl is-active adsbexchange-mlat || {
rm -f $IPATH/mlat_version
echo "---------------------------------"
journalctl -u adsbexchange-mlat | tail -n10
echo "---------------------------------"