summarylogtreecommitdiffstats
path: root/readsb.service
blob: e8dc21418cf8ce2c1e01090000ecadf3c2afc2f6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# readsb service for systemd

[Unit]
Description=readsb ADS-B receiver (wiedehopf fork)
Documentation=https://github.com/wiedehopf/readsb
Wants=network.target
After=network.target

[Service]
EnvironmentFile=/etc/default/readsb
User=readsb
RuntimeDirectory=readsb
RuntimeDirectoryMode=0755
ExecStart=/usr/bin/readsb $RECEIVER_OPTIONS $DECODER_OPTIONS $NET_OPTIONS $JSON_OPTIONS --write-json /run/readsb --quiet
Type=simple
Restart=on-failure
RestartSec=30
Nice=-5

[Install]
WantedBy=default.target