Skip to content

Commit

Permalink
Restart When Stale set to default-TRUE
Browse files Browse the repository at this point in the history
  • Loading branch information
kx1t authored Mar 25, 2024
1 parent 27bab41 commit ffc16fa
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions rootfs/etc/s6-overlay/scripts/message-monitor
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,13 @@
source /scripts/common
mkdir -p /run/stats
s6wrap=(s6wrap --quiet --prepend="$(basename "$0")" --timestamps --args)

# Adjustment Timeframe is the same as used for AutoGain, with a default of 0800-1800 "container time" if omitted
READSB_AUTOGAIN_ADJUSTMENT_TIMEFRAME="${DUMP978_AUTOGAIN_ADJUSTMENT_TIMEFRAME:-${READSB_AUTOGAIN_ADJUSTMENT_TIMEFRAME:-0800-1800}}"

# Restart When Stale is default-TRUE. This is acceptable - worst case, we'd restart the dump978 s6 service once every 30 minutes
DUMP978_MSG_MONITOR_RESTART_WHEN_STALE="${DUMP978_MSG_MONITOR_RESTART_WHEN_STALE:-true}"

while :
do
# Make sure we're receiving messages from the SDR
Expand Down

0 comments on commit ffc16fa

Please sign in to comment.