diff options
Diffstat (limited to 'meta-oe/recipes-connectivity/ser2net/files/ser2net.service')
-rw-r--r-- | meta-oe/recipes-connectivity/ser2net/files/ser2net.service | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/meta-oe/recipes-connectivity/ser2net/files/ser2net.service b/meta-oe/recipes-connectivity/ser2net/files/ser2net.service new file mode 100644 index 00000000000..13d8ee4ff3e --- /dev/null +++ b/meta-oe/recipes-connectivity/ser2net/files/ser2net.service @@ -0,0 +1,13 @@ +[Unit] +Description=Serial port to network proxy +Documentation=man:ser2net(8) +After=network.target +Wants=network.target +ConditionFileNotEmpty=@SYSCONFDIR@/ser2net/ser2net.yaml + +[Service] +Type=exec +ExecStart=@SBINDIR@/ser2net -n + +[Install] +WantedBy=multi-user.target |