[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#886919: Please enable system notify support



Hi,
On Sat, Jan 13, 2018 at 01:36:06PM +0100, Julien Cristau wrote:
> On Thu, Jan 11, 2018 at 11:12:49 +0100, Guido Günther wrote:
> 
> > Package: weston
> > Version: 3.0.0-1
> > Severity: wishlist
> > Tags: patch
> > 
> > Hi,
> > possible patch attached.
> 
> You may want to explain more.  What are the benefits, costs, risks,
> anything else?

It's can be used when starting weston as a systemd unit. 

 - notify systemd about startup via sd_notify (READY=1)
 - notify systemd that it's still alive via WATCHDOG=1
 - notify systemd about shutdow using STOPPING=1

An example unit file is being prepared upsteam:

    https://lists.freedesktop.org/archives/wayland-devel/2017-November/035973.html

Since we already link against libsystemd no new dependencies are
introduced and the module needs to be loaded explicitly so no risk for
running installations.
Cheers,
 -- Guido


Reply to: