Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

deamon init.d script rtl_tcp-server

New to Debian (Or Linux in general)? Ask your questions here!
Post Reply
Message
Author
1byte
Posts: 59
Joined: 2017-07-16 06:51

deamon init.d script rtl_tcp-server

#1 Post by 1byte »

I would like to get rtl_tcp start on boot and run permanently on one of my PC.

DAB Radio client Welle.io offers such a script
https://www.welle.io/download/rtl_tcp-server

So I have:

Code: Select all

cd /etc/init.d/
sudo wget https://www.welle.io/download/rtl_tcp-server
sudo chmod a+rx rtl_tcp-server
ls -l
2623282 -rwxr-xr-x 1 root root 2026 Jun  9  2018 rtl_tcp-server
sudo reboot
But nothing runs after reboot, well it's "exited" :

Code: Select all

sudo service rtl_tcp status
sudo systemctl status rtl_tcp.service
sudo journalctl -xe
sudo netstat -ntpl

Code: Select all

$ sudo service rtl_tcp status
● rtl_tcp-server.service - LSB: RTL-SDR remote server
   Loaded: loaded (/etc/init.d/rtl_tcp-server; generated; vendor preset: enabled)
   Active: active (exited) since Sat 2019-01-05 11:01:23 GMT; 1 day 23h ago
     Docs: man:systemd-sysv-generator(8)
  Process: 1184 ExecStart=/etc/init.d/rtl_tcp-server start (code=exited, status=0/SUCCESS)
    Tasks: 0 (limit: 4915)
   CGroup: /system.slice/rtl_tcp-server.service

Warning: Journal has been rotated since unit was started. Log output is incomplete or unavailable.


But looking over here:
http://man.he.net/man8/start-stop-daemon
It's not really what I am looking for ...


The script "rtl_tcp-server" can be viewed here:
https://raw.githubusercontent.com/edy55 ... rtl_tcp.rc



Is there any way to add support for IPv6 as well "[::]:1234" so it is listening on a port on any network adapter?

Post Reply