From 3bb76f6f28afc2fe8bb6e68d30ae3c3eba833652 Mon Sep 17 00:00:00 2001 From: Matthias Wirth Date: Tue, 12 Apr 2022 17:19:37 +0200 Subject: [PATCH] if the service fails to start, reinstall mlat-client / readsb on next run --- update.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/update.sh b/update.sh index d5e4b9e..76e0675 100755 --- a/update.sh +++ b/update.sh @@ -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 "---------------------------------"