<div dir="ltr">Hi,<br><div class="gmail_extra"><br><div class="gmail_quote">2017-01-17 19:26 GMT+01:00 Michael Biebl <span dir="ltr"><<a href="mailto:biebl@debian.org" target="_blank">biebl@debian.org</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I think this would be useful but this would need changes in invoke-rc.d,<br></blockquote><div><br></div><div>no, invoke-rc.d supports this.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
service</blockquote><div><br></div><div>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.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> and the LSB hook at a first glance.</blockquote><div><br></div><div>LSB hook? That's what i send patch for, right?</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> Debian policy would have to<br>
be updated as well, to define how exactly try-restart should behave in<br>
SysV init scripts.<br></blockquote><div><br></div><div>this is not about adding try-restart action to every init script, but only forwarding this action to systemd which will handle it.</div></div><div><br></div><div>But I'm fine to add this to policy too.</div><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div>Best regards<br> Ondřej Nový<br> <br>Email: <a href="mailto:novy@ondrej.org" target="_blank">novy@ondrej.org</a></div><div>PGP: 3D98 3C52 EB85 980C 46A5  6090 3573 1255 9D1E 064B<br><br></div></div></div></div></div></div>
</div></div>