update feed URL

This commit is contained in:
Matthias Wirth 2022-05-14 22:23:29 +02:00
commit d6264f488f
2 changed files with 5 additions and 1 deletions

View file

@ -134,7 +134,7 @@ PRIVACY=""
INPUT_TYPE="$INPUT_TYPE"
MLATSERVER="feed.adsbexchange.com:31090"
TARGET="--net-connector feed.adsbexchange.com,30004,beast_reduce_out,feed.adsbexchange.com,64004"
TARGET="--net-connector feed1.adsbexchange.com,30004,beast_reduce_out,feed2.adsbexchange.com,64004"
NET_OPTIONS="--net-heartbeat 60 --net-ro-size 1280 --net-ro-interval 0.2 --net-ro-port 0 --net-sbs-port 0 --net-bi-port 30154 --net-bo-port 0 --net-ri-port 0 --write-json-every 1"
JSON_OPTIONS="--max-range 450 --json-location-accuracy 2 --range-outline-hours 24"
EOF

View file

@ -333,6 +333,10 @@ if grep -qs 'SERVER_HOSTPORT.*feed.adsbexchange.com' /etc/default/mlat-client &>
systemctl disable --now mlat-client >> $LOGFILE 2>&1 || true
fi
if [[ -f /etc/default/adsbexchange ]]; then
sed -i -e 's/feed.adsbexchange.com,30004,beast_reduce_out,feed.adsbexchange.com,64004/feed1.adsbexchange.com,30004,beast_reduce_out,feed2.adsbexchange.com,64004/' /etc/default/adsbexchange || true
fi
echo 100
echo "---------------------"