From 2d9e8fe1e1307d5decb2242a842e8069a0f4bc00 Mon Sep 17 00:00:00 2001 From: Matthias Wirth Date: Fri, 4 Oct 2024 12:28:55 +0200 Subject: [PATCH] adsbx stats lower priority --- rootfs/usr/local/bin/adsbexchange-json-status | 3 +++ 1 file changed, 3 insertions(+) diff --git a/rootfs/usr/local/bin/adsbexchange-json-status b/rootfs/usr/local/bin/adsbexchange-json-status index e07dac4..698c574 100755 --- a/rootfs/usr/local/bin/adsbexchange-json-status +++ b/rootfs/usr/local/bin/adsbexchange-json-status @@ -7,6 +7,9 @@ REMOTE_URL="https://adsbexchange.com/api/receive/" REMOTE_HOST=$( echo $REMOTE_URL | awk -F'/' '{print $3}' ) +# run with lowest priority +renice 20 $$ || true + # Set this to '0' if you don't want this script to ever try to self-cache DNS. # Default is on, but script will automatically not cache if resolver is localhost, or if curl version is too old. DNS_CACHE=1