blob: 48a577210436e34466c268d7c3825a5e98b0a3b3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
[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 --monitor-file=%t/fr24feed/decoder.txt --config-file=/etc/fr24feed.ini
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
|