From a1390bd294a0f21297ace3f7b4e33912fa9cb63b Mon Sep 17 00:00:00 2001 From: Fabio Berton Date: Wed, 30 Sep 2020 18:16:44 -0300 Subject: 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 --- meta/recipes-graphics/wayland/weston-init/weston@.service | 1 + 1 file changed, 1 insertion(+) (limited to 'meta/recipes-graphics/wayland') 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 -- cgit 1.2.3-korg