Hello!

On Tue, Jan 17, 2017 at 09:02:13PM +0100, Ondřej Nový wrote:
> Package: debian-policy
> Version: 3.9.8.0
> Severity: wishlist
> 
> Hi,
> 
> systemd supports try-restart:
> https://www.freedesktop.org/software/systemd/man/systemctl.html#try-restart%20PATTERN...
> 
> I think it's really usefull so why not add it to supported/optional
> action? Use-case: "invoke-rc.d <service> try-restart" in postinst
> when you want to restart dependant service.
> 
> This started here:
> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=851688

Please note that an initial attempt at syncing debian policy and LSB
including try-restart is already in patches posted on
http://bugs.debian.org/181123

More precisely in
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=181123#50

Please review, comment, object, second.

More work might be needed, the above is just a start.

Regards,
Andreas Henriksson

Reply via email to