Skip to content

Instantly share code, notes, and snippets.

@alex27riva
Created January 31, 2022 19:18
Show Gist options
  • Save alex27riva/938a795a6d1ec610f4dccdf7193dc827 to your computer and use it in GitHub Desktop.
Save alex27riva/938a795a6d1ec610f4dccdf7193dc827 to your computer and use it in GitHub Desktop.
Systemd service for running rtl_tcp on startup
[Unit]
Description=Software Defined Radio TCP Server
Requires=network.target
After=network.target
[Service]
ExecStart=/usr/bin/rtl_tcp -a 0.0.0.0
Restart=on-failure
KillMode=control-group
[Install]
WantedBy=multi-user.target
@alex27riva
Copy link
Author

Place this file in: /usr/lib/systemd/system
and run:

  1. sudo systemctl enable rtl_tcp
  2. sudo systemctl start rtl_tcp

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment