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

2015-10-14 Thread Lennart Poettering
On Thu, 24.09.15 10:15, Luca Bertoncello (l.bertonce...@queo-group.com) wrote: > 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... > So

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

2015-09-24 Thread Vivenzio Pagliari
On 2015-09-24 10:39:33, EXT Luca Bertoncello wrote: > > > 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 > st

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

2015-09-24 Thread Luca Bertoncello
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? > > >

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

2015-09-24 Thread Andrei Borzenkov
2015-09-24 11:15 GMT+03:00 Luca Bertoncello : > 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 re

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

2015-09-24 Thread Luca Bertoncello
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... So the question: how can I have my script BLOCK all other processes until it ends? Thanks a l