Hi,
I have a service, and want it to be stopped only after network is
stopped when system shutdown.
I checked "man systemd.special ", network is a special internal
service for systemd, , and I found "network.target":
"at shutdown, a unit that is ordered after network.target will be
stopped
On Fri, Jun 24, 2016 at 6:23 PM, Andrei Borzenkov <arvidj...@gmail.com> wrote:
> On Fri, Jun 24, 2016 at 1:11 PM, Xin Long <lucien@gmail.com> wrote:
>> Hi,
>>
>> I have a service, and want it to be stopped only after network is
>> stopped whe
On Fri, Jun 24, 2016 at 6:22 PM, Michael Hirmke wrote:
> Hi Xin,
>
>>Hi,
>
>>I have a service, and want it to be stopped only after network is
>>stopped when system shutdown.
>
>>I checked "man systemd.special ", network is a special internal
>>service for systemd, , and I
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 ?
___
systemd-devel mailing list
Hi, Andrei:
On Fri, Aug 5, 2016 at 7:13 PM, Andrei Borzenkov <arvidj...@gmail.com> wrote:
> On Fri, Aug 5, 2016 at 2:01 PM, Xin Long <lucien@gmail.com> wrote:
>> When system shutdown, service [a] try to kill service [b] with 'systemctl
>> stop',
>> but we de
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
> 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
I want teamd.service is stopped after network is stopped when system
shutdown, then I add two line in teamd.service as systemd-devel suggests.
Before=network-pre.target
Wants=network-pre.target
But in /etc/sysconfig/network-scripts/ifdown-Team, it also kills teamd with:
On Mon, Sep 25, 2017 at 2:47 PM, Mantas Mikulėnas <graw...@gmail.com> wrote:
> On Mon, Sep 25, 2017 at 8:59 AM, Xin Long <lucien@gmail.com> wrote:
>>
>> Hi,
>>
>> linux network is using
>> systemctl start teamd@team0.service
>> to start