[systemd-devel] Having my script blocking all other scripts until it ends
Luca Bertoncello
L.Bertoncello at queo-group.com
Thu Sep 24 01:39:33 PDT 2015
Hi
> That's correct; units are stopped in reverse order. If your script starts as first,
> it will be stopped as last.
In my case, my scripts starts as last and will be stopped (almost) as first...
> > So the question: how can I have my script BLOCK all other processes until it
> ends?
> >
>
> Could you rephrase this question?
Well, my script does something that require time and all other processes on the server MUST run during this operation.
But right now, after systemd execute my "stop script", it prosecute and stop all other processes at the same time (or almost).
Then my question: how can I block the "shutdown process" until my script is done?
Thanks
Mit freundlichen Grüßen
Luca Bertoncello
--
Besuchen Sie unsere Webauftritte:
www.queo.biz Agentur für Markenführung und Kommunikation
www.queoflow.com IT-Consulting und Individualsoftwareentwicklung
Luca Bertoncello
Administrator
Telefon: +49 351 21 30 38 0
Fax: +49 351 21 30 38 99
E-Mail: l.bertoncello at queo-group.com
queo GmbH
Tharandter Str. 13
01159 Dresden
Sitz der Gesellschaft: Dresden
Handelsregistereintrag: Amtsgericht Dresden HRB 22352
Geschäftsführer: Rüdiger Henke, André Pinkert
USt-IdNr.: DE234220077
More information about the systemd-devel
mailing list