I thought of another slightly different format of fr24feed ini file.
Copy-paste following code in above file
IMPORTANT:
If you type the above code, make sure there is no blank space after back-slah \ .
Better copy-paste from above instead of typing
Code:
sudo nano /etc/fr24feed-1.ini
Copy-paste following code in above file
Code:
[COLOR="#FF0000"]CONFIG[/COLOR]=" \ --receiver=beast-tcp" \ --fr24key=xxxxxxxxxxxxxxxx \ --host=127.0.0.1:30005 \ --bs=no \ --raw=no \ --logmode=1 \ --logpath=/var/log/fr24-1 \ --mlat=yes \ --mlat-without-gps=yes \ --use-http=yes \ --http-timeout=20 "
If you type the above code, make sure there is no blank space after back-slah \ .
Better copy-paste from above instead of typing
Code:
[Unit] Description=Flightradar24 Feeder After=network-online.target [Service] Type=simple Restart=always LimitCORE=infinity EnvironmentFile=/etc/fr24feed-1.ini RuntimeDirectory=fr24feed RuntimeDirectoryMode=0755 ExecStartPre=/bin/mkdir -p /var/log/fr24-1 ExecStartPre=/bin/chown fr24 /var/log/fr24-1 ExecStart=/usr/bin/fr24feed [COLOR="#FF0000"]$CONFIG[/COLOR] User=fr24 PermissionsStartOnly=true StandardOutput=null [Install] WantedBy=multi-user.target
Comment