From 3a9b162e21bacb2330419a39f7c9418d56bca69d Mon Sep 17 00:00:00 2001 From: alanbjohnston Date: Fri, 5 Jun 2020 12:57:45 -0400 Subject: [PATCH] Create rtl_tcp.service --- groundstation/rtl_tcp.service | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 groundstation/rtl_tcp.service diff --git a/groundstation/rtl_tcp.service b/groundstation/rtl_tcp.service new file mode 100644 index 00000000..47744757 --- /dev/null +++ b/groundstation/rtl_tcp.service @@ -0,0 +1,13 @@ +Description=RTL-TCP + +[Service] +TimeoutStopSec = 5 +ExecStart=/bin/sh -c '/usr/local/bin/rtl_tcp -a $(hostname -I)' +WorkingDirectory=/home/pi +StandardOutput=inherit +StandardError=inherit +Restart=always +User=root + +[Install] +WantedBy=default.target