-
-
Save Leo-PL/7bbb3a60362ff6f537559d7b04b1f452 to your computer and use it in GitHub Desktop.
Systemd service template for running rtl_tcp on startup
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=Software Defined Radio TCP Server | |
Requires=network.target | |
After=network.target | |
[Service] | |
ExecStart=/bin/sh -c "/usr/bin/rtl_tcp -a 0.0.0.0 -d %i -p $$((1234+%i))" | |
Restart=on-failure | |
KillMode=control-group | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
To use with multiple receivers, use device index as instance name, for example [email protected]. Index 0 listens at port 1234, 1 at 1235, and so on.