From: Fabio Berton Date: Wed, 30 Sep 2020 21:16:44 +0000 (-0300) Subject: weston-init: Add environment file support for systemd unit file X-Git-Tag: 2020-10-gatesgarth~118 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=a1390bd294a0f21297ace3f7b4e33912fa9cb63b;p=openembedded-core.git weston-init: Add environment file support for systemd unit file The /etc/default/weston file is already installed and it can be used as systemd EnvironmentFile. Signed-off-by: Fabio Berton Signed-off-by: Otavio Salvador Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-graphics/wayland/weston-init/weston@.service b/meta/recipes-graphics/wayland/weston-init/weston@.service index 0a1df15bdf..ce8f4fb71a 100644 --- a/meta/recipes-graphics/wayland/weston-init/weston@.service +++ b/meta/recipes-graphics/wayland/weston-init/weston@.service @@ -29,6 +29,7 @@ ConditionPathExists=/dev/tty0 [Service] # Requires systemd-notify.so Weston plugin. Type=notify +EnvironmentFile=/etc/default/weston ExecStart=/usr/bin/weston --modules=systemd-notify.so # Optional watchdog setup