summaryrefslogtreecommitdiff
path: root/src/systemd/ser2net.service
blob: a5b4243afad10cf17b0ad6b30a06dfab52db26a7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
[Unit]
Description=Serial to Network Proxy
ConditionPathExists=/run/ser2net/ser2net.conf
After=vyos-router.service

[Service]
WorkingDirectory=/run/ser2net
PIDFile=/run/ser2net/ser2net.pid
ExecStart=/usr/sbin/ser2net -n -c /run/ser2net/ser2net.conf -P /run/ser2net/ser2net.pid -p localhost,2000
Restart=always

[Install]
WantedBy=multi-user.target