Files
quectel-rgmii-toolkit/attelnetdaemon/at-telnet/smd7_systemd_units/socat-smd7-from-ttyIN.service
iamromulan 5dd69666ff Reorganized
add separate systemd units for use with smd7 as well
2023-12-01 22:18:38 -05:00

15 lines
301 B
Desktop File

[Unit]
Description=Read from /dev/ttyIN and write to smd11
BindsTo=socat-smd11.service
After=socat-smd11.service
[Service]
ExecStart=/bin/bash -c "/bin/cat /dev/ttyIN > /dev/smd11"
ExecStartPost=/bin/sleep 2s
StandardInput=tty-force
Restart=always
RestartSec=1s
[Install]
WantedBy=multi-user.target