2022-07-16, 12:21 PM
Hi,
solved the issue. Just recreated the service file manually with it's original contents:
cat /etc/systemd/system/openplotter-rtl_ais.service
[Unit]
Description = Decode AIS received by rtl-sdr and send as NMEA 0183 to UDP port
After=syslog.target network.target audit.service
StartLimitInterval=200
StartLimitBurst=5
[Service]
Type=simple
User=root
EnvironmentFile=/home/pi/.openplotter/openplotter.conf
ExecStart=/usr/bin/rtl_ais -d $sdraisdeviceindex -p $sdraisppm -g $sdraisgain -P $sdraisport
Restart=always
RestartSec=30
KillMode=process
[Install]
WantedBy=multi-user.target
After that the service can be managed through the SDR VHF GUI application.
Regards,
solved the issue. Just recreated the service file manually with it's original contents:
cat /etc/systemd/system/openplotter-rtl_ais.service
[Unit]
Description = Decode AIS received by rtl-sdr and send as NMEA 0183 to UDP port
After=syslog.target network.target audit.service
StartLimitInterval=200
StartLimitBurst=5
[Service]
Type=simple
User=root
EnvironmentFile=/home/pi/.openplotter/openplotter.conf
ExecStart=/usr/bin/rtl_ais -d $sdraisdeviceindex -p $sdraisppm -g $sdraisgain -P $sdraisport
Restart=always
RestartSec=30
KillMode=process
[Install]
WantedBy=multi-user.target
After that the service can be managed through the SDR VHF GUI application.
Regards,