diff options
Diffstat (limited to 'fr24feed.service')
-rw-r--r-- | fr24feed.service | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/fr24feed.service b/fr24feed.service index 9066dbedc5e1..de155e27b0a0 100644 --- a/fr24feed.service +++ b/fr24feed.service @@ -1,15 +1,18 @@ [Unit] -Description=Flightradar24 decoder and feeder -After=network.target +Description=Flightradar24 Decoder & Feeder +After=network-online.target [Service] +Type=simple Restart=on-failure User=fr24 +Group=fr24 ProtectSystem=full -ProtectHome=true +ProtectHome=yes RuntimeDirectory=fr24feed -ExecStart=/usr/bin/fr24feed --config-file=/etc/fr24feed.ini --logfile=/var/log/fr24feed.log +LogsDirectory=fr24feed +ExecStart=/usr/bin/fr24feed --config-file=/etc/fr24feed.ini --logfile=/var/log/fr24feed/fr24feed.log Environment=PATH=/usr/lib/flightradar24:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin [Install] -WantedBy=network.target +WantedBy=multi-user.target |