parent
389870d5b7
commit
9c5dc8bd2f
@ -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
|
||||
@ -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
|
||||
Loading…
Reference in new issue