strix-technica / ADSB-tools

Tools for ADS-B analysis, especially on the Raspberry Pi
GNU General Public License v2.0
9 stars 4 forks source link

adsb-msg-dist Failed to parse pid file #8

Open phipac opened 3 months ago

phipac commented 3 months ago

Greetings! Running on Ubuntu 22.04, attempting to start the adsb-msg-dist.service brings the following error:

Starting ADS-B message distribution monitor... adsb-msg-dist.service: Failed to parse PID from file /run/adsb-msg-dist.pid: Invalid argument adsb-msg-dist.service: Failed with result 'protocol'. Failed to start ADS-B message distribution monitor.

System logs show the following:

systemd[1]: /etc/systemd/system/adsb-msg-dist.service:9: PIDFile= references a path below legacy directory /var/run/, updating /var/run/adsb-msg-dist.pid → /run/adsb-msg-dist.pid; please update the unit file accordingly.

Updating the path in the systemd service file yields this:

systemd[1]: adsb-msg-dist.service: Failed to parse PID from file /run/adsb-msg-dist.pid: Invalid argument systemd[1]: adsb-msg-dist.service: Failed with result 'protocol'.

Any ideas?