RTL SDR gone bad?

The process of stopping fr24feed takes 1-min 30-sec (90 sec). when Pi is rebooted.
​​​​​This is too long as all other processes and feeders (piaware, planefinder etc etc) take hardly 5 to 10 seconds to stop​​

Click on Screeshot to See Larger Size

 

I solved this by editing service file and adding a line, as detailed below.
After following workaround, the 1min 30sec (90 sec) delay in stopping fr24feed disappeared, and reboot became very fast.

(1) Issued following command to open fr24feed service file

sudo nano /etc/systemd/system/fr24feed.service

(2) Added following line

ExecStop=/usr/bin/pkill fr24feed

(3) After adding above line and saving service file, issued following commands

sudo systemctl daemon-reload 
sudo systemctl restart fr24feed

Please see screenshot below

Click on Screeshot to See Larger Size

 

4 Likes