mirror of
https://git.yoctoproject.org/poky
synced 2026-04-19 06:32:13 +02:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
cddb58b0c6
commit
2de508e3cb
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user