summarylogtreecommitdiffstats
path: root/fr24uat-feed.service
blob: e3ce7e731e24790ef6c9bcc574fc36f2901cb0c1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
[Unit]
Description=Flightradar24 UAT Decoder & Feeder
After=network-online.target

[Service]
Type=simple
Restart=on-failure
ExecStartPre=/usr/bin/fr24feed --validate-config --config-file=/etc/fr24uat-feed.ini
ExecStart=/usr/bin/fr24feed --monitor-file=%t/fr24feed/uat-decoder.txt --http-listen-port=8755 --config-file=/etc/fr24uat-feed.ini --unit=fr24uat-feed
User=fr24
Group=fr24
SupplementaryGroups=systemd-journal
ProtectSystem=strict
ProtectHome=yes
RuntimeDirectory=fr24feed
LogsDirectory=fr24feed
Environment=PATH=/usr/lib/flightradar24:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin

[Install]
WantedBy=multi-user.target