<html><head></head><body><div style="font-family: Verdana;font-size: 12.0px;"><div>Hi Michael,</div>
<div> </div>
<div>this solution has a couple of drawbacks:</div>
<div>- block will let shutdown, etc. fail, I do only need a pause/wait</div>
<div>- delay does not work with reboot</div>
<div> </div>
<div> </div>
<div class="signature">Regards,<br/>
<br/>
Ralf</div>
<div>
<div>
<div name="quote" style="margin:10px 5px 5px 10px; padding: 10px 0 10px 10px; border-left:2px solid #C3D9E5; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">
<div style="margin:0 0 10px 0;"><b>Gesendet:</b> Sonntag, 02. September 2018 um 19:15 Uhr<br/>
<b>Von:</b> "Michael Biebl" <mbiebl@gmail.com><br/>
<b>An:</b> "Ralf Sieger" <Ralf.Sieger@gmx.net><br/>
<b>Cc:</b> "systemd Mailing List" <systemd-devel@lists.freedesktop.org><br/>
<b>Betreff:</b> Re: [systemd-devel] blocking service on shutdown</div>
<div name="quoted-content">2018-09-02 15:37 GMT+02:00 Ralf Sieger <Ralf.Sieger@gmx.net>:<br/>
> Hi,<br/>
><br/>
> I want my system to pause on shutdown to wait till my backup has finished if<br/>
> it is running.<br/>
<br/>
I would suggest using an inhibitor lock when running your backup.<br/>
See <a href="https://www.freedesktop.org/wiki/Software/systemd/inhibit/" target="_blank">https://www.freedesktop.org/wiki/Software/systemd/inhibit/</a><br/>
<br/>
That's exactly the use-case it was designed for.<br/>
<br/>
<br/>
--<br/>
Why is it that all of the instruments seeking intelligent life in the<br/>
universe are pointed away from Earth?</div>
</div>
</div>
</div></div></body></html>