On Wed, Sep 30, 2020 at 2:17 PM Otavio Salvador <otavio.salva...@gmail.com> wrote: > > From: Fabio Berton <fabio.ber...@ossystems.com.br> > > The /etc/default/weston file is already installed and it can be used > as systemd EnvironmentFile. > > Signed-off-by: Fabio Berton <fabio.ber...@ossystems.com.br> > Signed-off-by: Otavio Salvador <ota...@ossystems.com.br> > --- > > meta/recipes-graphics/wayland/weston-init/weston@.service | 1 + > 1 file changed, 1 insertion(+) > > 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
Lets make it not fail when not there EnvironmentFile=-/etc/default/weston > ExecStart=/usr/bin/weston --modules=systemd-notify.so > > # Optional watchdog setup > -- > 2.28.0 > > > >
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#142941): https://lists.openembedded.org/g/openembedded-core/message/142941 Mute This Topic: https://lists.openembedded.org/mt/77227403/21656 Group Owner: openembedded-core+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-