Enable successful installation of graphs1090 and tar1090 on an installation which is using Radarbox24’s dump1090-rb
(rbfeeder setting is network_mode=false
)
STEP-1
sudo nano /etc/rbfeeder.ini
Below [client]
added following line:
json_dir=/run/dump1090/
(NOTE: The parameter json_dir
is undocumented, found it by trial-and-error )
STEP-2
sudo nano /usr/lib/systemd/system/rbfeeder.service
Under [service]
, Inserted these two lines:
ExecStartPre=+-/bin/mkdir /run/dump1090
ExecStartPre=+-/bin/chown rbfeeder:rbfeeder /run/dump1090
STEP-3
Rebooted RPi
sudo reboot
STEP-4
Checked json data location /run/dump1090/
STEP-5
Install graphs1090 & tar1090 using bash scripts by @wiedehopf
sudo apt install lighttpd
sudo bash -c "$(curl -L -o - https://github.com/wiedehopf/graphs1090/raw/master/install.sh)"
sudo bash -c "$(wget -nv -O - https://github.com/wiedehopf/tar1090/raw/master/install.sh)"