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

[Service]
Type=simple
Restart=on-failure
ExecStartPre=/usr/bin/fr24feed --validate-config --config-file=/etc/fr24feed.ini
ExecStart=/usr/bin/fr24feed --config-file=/etc/fr24feed.ini --logfile=/var/log/fr24feed/fr24feed.log
User=fr24
Group=fr24
ProtectSystem=full
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