Skip to content

Instantly share code, notes, and snippets.

@symm
Created February 8, 2019 19:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save symm/3d0c7b6d8f48b39fab3004e7f8a6219c to your computer and use it in GitHub Desktop.
Save symm/3d0c7b6d8f48b39fab3004e7f8a6219c to your computer and use it in GitHub Desktop.
[Unit]
Description=RTL-SDR Server
Wants=network-online.target
After=network-online.target
[Service]
ExecStartPre=/bin/sleep 15
ExecStart=/bin/sh -c '/usr/bin/rtl_tcp -a 0.0.0.0 -s 1024000'
WorkingDirectory=/home/pi
StandardOutput=inherit
StandardError=inherit
Restart=always
[Install]
WantedBy=multi-user.target
@symm
Copy link
Author

symm commented Feb 8, 2019

systemctl start rtlsdr.service

@symm
Copy link
Author

symm commented Feb 8, 2019

systemctl enable rtlsdr

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