From 9c5dc8bd2f608d4933c84344798d76d09b9336df Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Sat, 4 Jan 2025 07:53:17 -0500 Subject: [PATCH] Update and rename rtl_tcp.service to rtltcp.service from niclashoyer/rtltcp --- groundstation/rtl_tcp.service | 14 -------------- groundstation/rtltcp.service | 10 ++++++++++ 2 files changed, 10 insertions(+), 14 deletions(-) delete mode 100644 groundstation/rtl_tcp.service create mode 100644 groundstation/rtltcp.service diff --git a/groundstation/rtl_tcp.service b/groundstation/rtl_tcp.service deleted file mode 100644 index 403425a3..00000000 --- a/groundstation/rtl_tcp.service +++ /dev/null @@ -1,14 +0,0 @@ -[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 new file mode 100644 index 00000000..f9d2405f --- /dev/null +++ b/groundstation/rtltcp.service @@ -0,0 +1,10 @@ +[Unit] +Description=RTL TCP Service +After=network.target +Requires=rtltcp.socket + +[Service] +Type=notify +User=pi +ExecStart=/usr/local/bin/rtltcp +TimeoutStopSec=5