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

Xin Long lucien.xin at gmail.com
Fri Aug 5 11:46:18 UTC 2016


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 ?


More information about the systemd-devel mailing list