2016-01-13 01:00:08 +01:00
|
|
|
# dump1090-fa service for systemd
|
|
|
|
|
|
|
|
[Unit]
|
|
|
|
Description=dump1090 ADS-B receiver (FlightAware customization)
|
|
|
|
Documentation=https://flightaware.com/adsb/piaware/
|
|
|
|
Wants=network.target
|
|
|
|
After=network.target
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
User=dump1090
|
|
|
|
RuntimeDirectory=dump1090-fa
|
|
|
|
RuntimeDirectoryMode=0755
|
2019-03-11 19:16:00 +01:00
|
|
|
ExecStart=/usr/share/dump1090-fa/start-dump1090-fa --write-json %t/dump1090-fa --quiet
|
2019-03-11 19:21:31 +01:00
|
|
|
SyslogIdentifier=dump1090-fa
|
2016-01-13 01:00:08 +01:00
|
|
|
Type=simple
|
|
|
|
Restart=on-failure
|
|
|
|
RestartSec=30
|
2019-03-11 18:01:16 +01:00
|
|
|
RestartPreventExitStatus=64
|
2016-01-13 01:00:08 +01:00
|
|
|
Nice=-5
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=default.target
|