Bug#851688: systemd: Redirect try-restart in SysV init scripts

Ondrej Novy novy at ondrej.org
Tue Jan 17 18:46:45 GMT 2017


Hi,

2017-01-17 19:26 GMT+01:00 Michael Biebl <biebl at debian.org>:

> I think this would be useful but this would need changes in invoke-rc.d,
>

no, invoke-rc.d supports this.


> service


service = sysv init script? That's optional and anyone can do it. We are
talking about forwardning try-restart action from sysv init script (which
don't need to support it) to systemd, which supports it always.


> and the LSB hook at a first glance.


LSB hook? That's what i send patch for, right?


> Debian policy would have to
> be updated as well, to define how exactly try-restart should behave in
> SysV init scripts.
>

this is not about adding try-restart action to every init script, but only
forwarding this action to systemd which will handle it.

But I'm fine to add this to policy too.

-- 
Best regards
 Ondřej Nový

Email: novy at ondrej.org
PGP: 3D98 3C52 EB85 980C 46A5  6090 3573 1255 9D1E 064B
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20170117/ec72ebfc/attachment-0002.html>


More information about the Pkg-systemd-maintainers mailing list