parent
a259419e2d
commit
03be3471e0
@ -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
|
||||||
@ -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
|
|
||||||
Loading…
Reference in new issue