21 lines
423 B
Desktop File
21 lines
423 B
Desktop File
[Unit]
|
|
Description=Bind uart socket with pseudo tty based on socat
|
|
Requires=um-service-config.service user-module.target
|
|
After=um-service-config.service user-module.target
|
|
|
|
|
|
[Service]
|
|
Type=simple
|
|
ExecStart=/usr/bin/socat-socket-uart
|
|
PIDFile=/var/run/socket-uart.pid
|
|
|
|
|
|
EnvironmentFile=/etc/user-module/network.conf
|
|
|
|
ExecReload=/bin/kill -HUP $MAINPID
|
|
Restart=on-failure
|
|
RestartSec=10
|
|
|
|
[Install]
|
|
WantedBy=user-module.target
|