Update socat-smd7-from-ttyIN.service

update for smd7
This commit is contained in:
iamromulan
2023-12-01 22:21:57 -05:00
committed by GitHub
parent bc02b06730
commit 428f2f42f3

View File

@@ -1,10 +1,10 @@
[Unit] [Unit]
Description=Read from /dev/ttyIN and write to smd11 Description=Read from /dev/ttyIN and write to smd7
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/ttyIN > /dev/smd11" ExecStart=/bin/bash -c "/bin/cat /dev/ttyIN > /dev/smd7"
ExecStartPost=/bin/sleep 2s ExecStartPost=/bin/sleep 2s
StandardInput=tty-force StandardInput=tty-force
Restart=always Restart=always