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

14 lines
357 B
Desktop File

[Unit]
Description=Socat Serial Emulation for smd7
After=ql-netd.service
[Service]
ExecStart=/usrdata/at-telnet/socat-armel-static -d -d pty,link=/dev/ttyIN,raw,echo=0 pty,link=/dev/ttyOUT,raw,echo=1
# Add a delay to prevent the clients from starting too early
ExecStartPost=/bin/sleep 2s
Restart=always
RestartSec=1s
[Install]
WantedBy=multi-user.target