mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-16 04:17:25 +00:00
fc34acf93f
This adds and installs a simple systemd service for ser2net. The service is only started in case a non-zero configuration file /etc/ser2net/ser2net.yaml exists. Additionally, this configuration file a marked as such in the recipe. Signed-off-by: Michael Heimpold <mhei@heimpold.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
14 lines
265 B
Desktop File
14 lines
265 B
Desktop File
[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
|