diff --git a/groundstation/rtl_tcp.service b/groundstation/rtl_tcp.service new file mode 100644 index 00000000..403425a3 --- /dev/null +++ b/groundstation/rtl_tcp.service @@ -0,0 +1,14 @@ +[Unit] +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 diff --git a/groundstation/rtltcp.service b/groundstation/rtltcp.service deleted file mode 100644 index f9d2405f..00000000 --- a/groundstation/rtltcp.service +++ /dev/null @@ -1,10 +0,0 @@ -[Unit] -Description=RTL TCP Service -After=network.target -Requires=rtltcp.socket - -[Service] -Type=notify -User=pi -ExecStart=/usr/local/bin/rtltcp -TimeoutStopSec=5