Skip to content

Commit

Permalink
use s6svc instead of pkill to restart radar1090 service when needed
Browse files Browse the repository at this point in the history
  • Loading branch information
kx1t committed Oct 23, 2023
1 parent 4e79572 commit e900f63
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rootfs/etc/s6-overlay/scripts/watchdog
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,8 @@ monitor_feeder () {
fi
}

fix_feeder () { # bring down the feeder Python app:
pkill -SIGTERM -f "/usr/sbin/radar"
fix_feeder () { # bring down the feeder apps:
s6-svc -r /run/service/radar1090
sleep 10

# check if data is flowing again:
Expand Down

0 comments on commit e900f63

Please sign in to comment.