diff options
author | Fabio Berton <fabio.berton@ossystems.com.br> | 2020-09-30 18:16:44 -0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-10-06 23:12:50 +0100 |
commit | a1390bd294a0f21297ace3f7b4e33912fa9cb63b (patch) | |
tree | c5c8a389602698d6851fd052b9457da6c709277d | |
parent | 9d3cc0fb89cc4bd8a4f4fe168eff08a3c8bc8d2f (diff) | |
download | openembedded-core-contrib-a1390bd294a0f21297ace3f7b4e33912fa9cb63b.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.
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>
-rw-r--r-- | meta/recipes-graphics/wayland/weston-init/weston@.service | 1 |
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 [Service] # Requires systemd-notify.so Weston plugin. Type=notify +EnvironmentFile=/etc/default/weston ExecStart=/usr/bin/weston --modules=systemd-notify.so # Optional watchdog setup |