[systemd-devel] Having my script blocking all other scripts until it ends

Andrei Borzenkov arvidjaar at gmail.com
Thu Sep 24 01:36:27 PDT 2015


2015-09-24 11:15 GMT+03:00 Luca Bertoncello <L.Bertoncello at queo-group.com>:
> Hi again!
>
> So, I got my script starting "as first" (or at least before other services), but the problem is, that the other services, needed from my script, will be shutted down before my script ends...

That's correct; units are stopped in reverse order. If your script
starts as first, it will be stopped as last.

> So the question: how can I have my script BLOCK all other processes until it ends?
>

Could you rephrase this question?


More information about the systemd-devel mailing list