mirror of
https://github.com/sdr-enthusiasts/docker-planefence.git
synced 2025-12-22 11:17:06 +00:00
Don’t run planefence_notify in the background as it will cause a race condx
This commit is contained in:
@@ -799,7 +799,7 @@ if [[ -n "$PLANETWEET" ]] \
|
||||
|| [[ -n "$MASTODON_SERVER" ]] \
|
||||
|| [[ -n "$BLUESKY_HANDLE" ]]; then
|
||||
LOG "Invoking planefence_notify.sh for notifications"
|
||||
{ timeout 120 $PLANEFENCEDIR/planefence_notify.sh today "$DISTUNIT" "$ALTUNIT"; } &
|
||||
$PLANEFENCEDIR/planefence_notify.sh today "$DISTUNIT" "$ALTUNIT"
|
||||
else
|
||||
[ "$1" != "" ] && LOG "Info: planefence_notify.sh not called because we're doing a manual full run" || LOG "Info: PlaneTweet not enabled"
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user