Update socat-smd7-to-ttyIN.service
This commit is contained in:
@@ -1,10 +1,10 @@
|
|||||||
[Unit]
|
[Unit]
|
||||||
Description=Read from /dev/smd11 and write to ttyIN
|
Description=Read from /dev/smd7 and write to ttyIN
|
||||||
BindsTo=socat-smd11.service
|
BindsTo=socat-smd7.service
|
||||||
After=socat-smd11.service
|
After=socat-smd7.service
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
ExecStart=/bin/bash -c "/bin/cat /dev/smd11 > /dev/ttyIN"
|
ExecStart=/bin/bash -c "/bin/cat /dev/smd7 > /dev/ttyIN"
|
||||||
ExecStartPost=/bin/sleep 2s
|
ExecStartPost=/bin/sleep 2s
|
||||||
StandardInput=tty-force
|
StandardInput=tty-force
|
||||||
Restart=always
|
Restart=always
|
||||||
|
|||||||
Reference in New Issue
Block a user