[systemd-devel] does service block when systemctl stop another service

Andrei Borzenkov arvidjaar at gmail.com
Fri Aug 5 12:01:51 UTC 2016


On Fri, Aug 5, 2016 at 2:46 PM, Xin Long <lucien.xin at gmail.com> wrote:
> Hi, Andrei:
> On Fri, Aug 5, 2016 at 7:13 PM, Andrei Borzenkov <arvidjaar at gmail.com> wrote:
>> On Fri, Aug 5, 2016 at 2:01 PM, Xin Long <lucien.xin at gmail.com> wrote:
>>> When system shutdown, service [a] try to kill service [b] with 'systemctl stop',
>>> but we define the dependence that [b] must die after [a].
>>>
>>> Will service [a] block there when system shudown ?
>>
>> Default execution is synchronous, so yes, it will block.
> even stop with "systemctl stop"? it looks kinda stopping manually.
> still check the dependence ?
>
> do you have some way to let it not block, like some params of systemctl ?

systemctl stop --no-block :)


More information about the systemd-devel mailing list