summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/wayland
diff options
context:
space:
mode:
authorFabio Berton <fabio.berton@ossystems.com.br>2020-09-30 18:16:44 -0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-10-06 23:14:25 +0100
commit2de508e3cb4489e4973ae5f1068c260accf1bc34 (patch)
tree2d4c2602790afb42beeb50b6c9e135e897214350 /meta/recipes-graphics/wayland
parentcddb58b0c6eb0d687e4da04f5da0752a4bf28e62 (diff)
downloadpoky-2de508e3cb4489e4973ae5f1068c260accf1bc34.tar.gz
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. (From OE-Core rev: a1390bd294a0f21297ace3f7b4e33912fa9cb63b) Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics/wayland')
-rw-r--r--meta/recipes-graphics/wayland/weston-init/weston@.service1
1 files changed, 1 insertions, 0 deletions
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
29[Service] 29[Service]
30# Requires systemd-notify.so Weston plugin. 30# Requires systemd-notify.so Weston plugin.
31Type=notify 31Type=notify
32EnvironmentFile=/etc/default/weston
32ExecStart=/usr/bin/weston --modules=systemd-notify.so 33ExecStart=/usr/bin/weston --modules=systemd-notify.so
33 34
34# Optional watchdog setup 35# Optional watchdog setup