Skip to content

Commit

Permalink
imalive/add default RV_SERVER value
Browse files Browse the repository at this point in the history
  • Loading branch information
kx1t authored Nov 5, 2023
1 parent 0368bd4 commit 0e15ac5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions rootfs/etc/s6-overlay/scripts/imalive
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ mkdir -p /run/imalive
touch /run/imalive/errors
s6wrap --quiet --prepend="${APPNAME}" --timestamps --args echo "Started as an s6 service"

RV_SERVER="${RV_SERVER:-mg22.adsbnetwork.com:50050}"
[[ "${RV_SERVER%%:*}" == "mg2.adsbnetwork.com" ]] && RV_SERVER="mg22.adsbnetwork.com:${RV_SERVER##*:}" || true

# Source in the scripts from @Mikenye's healthchecks-framework so we can use them here
Expand Down

0 comments on commit 0e15ac5

Please sign in to comment.