]> code.ossystems Code Review - openembedded-core.git/commitdiff
weston-init: Add environment file support for systemd unit file
authorFabio Berton <fabio.berton@ossystems.com.br>
Wed, 30 Sep 2020 21:16:44 +0000 (18:16 -0300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 6 Oct 2020 22:12:50 +0000 (23:12 +0100)
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>
meta/recipes-graphics/wayland/weston-init/weston@.service

index 0a1df15bdf0cc8a5f9446ea32cdf3aeeec0b7cf7..ce8f4fb71aa01d6785a13aa1d72340a5f22e3491 100644 (file)
@@ -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