Update at-telnet-daemon.service

update for smd7
This commit is contained in:
iamromulan
2023-12-01 22:20:45 -05:00
committed by GitHub
parent 5dd69666ff
commit bc02b06730

View File

@@ -1,13 +1,9 @@
[Unit]
Description=Telnet daemon for AT command
Description=Telnet daemon for AT command smd7
# Being extra silly with the dependencies for this.
# TODO: Update the python code to validate that the serial port
# is working on a regular basis, and keep attempting to retry
# if not. Then these dependencies won't need to be so strict.
After=socat-smd11.service
Requires=socat-smd11.service socat-smd11-from-ttyIN.service socat-smd11-to-ttyIN.service
ReloadPropagatedFrom=socat-smd11.service socat-smd11-from-ttyIN.service socat-smd11-to-ttyIN.service
After=socat-smd7.service
Requires=socat-smd7.service socat-smd7-from-ttyIN.service socat-smd7-to-ttyIN.service
ReloadPropagatedFrom=socat-smd7.service socat-smd7-from-ttyIN.service socat-smd7-to-ttyIN.service
StartLimitIntervalSec=2m
StartLimitBurst=100