Re: blocking service on shutdown

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

 



2018-09-02 15:37 GMT+02:00 Ralf Sieger <Ralf.Sieger@xxxxxxx>:
> Hi,
>
> I want my system to pause on shutdown to wait till my backup has finished if
> it is running.

I would suggest using an inhibitor lock when running your backup.
See https://www.freedesktop.org/wiki/Software/systemd/inhibit/

That's exactly the use-case it was designed for.


-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?
_______________________________________________
systemd-devel mailing list
systemd-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/systemd-devel




[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux