Re: runit don't restart service.

From: Yoshinori Sato <yo-satoh_at_sios.com>
Date: Wed, 25 Jul 2018 17:53:04 +0900

OK.

I understood it.
I will try it again.

Thanks.

2018-07-25 17:35 GMT+09:00 Jonathan de Boyne Pollard
<J.deBoynePollard-newsgroups_at_ntlworld.com>:
> Yoshinori Sato:
>
>> root 10647 10592 0 7月13 ? 00:00:00 /opt/LifeKeeper/sbin/runsv lkcheck
>>
>> terminate service
>> [root_at_nodeA ec2-user]# kill 10647 12521
>>
> That is not terminating a service. That is terminating the service
> supervision subsystem. If you kill the process that actually does the
> restarting, you really should not expect that process to then restart
> anything. The behaviour of runsv in response to SIGTERM is documented in
> its manual; as are the ways to properly tell it to terminate a service, as
> opposed to what you did here.
>
> Use the runit manual in preference to the LifeKeeper manual here, too. In
> particular learn the use of runit commands like
>
> # /opt/LifeKeeper/sbin/sv status /opt/LifeKeeper/etc/service/*
>
> rather than the clumsy and error-prone grepping of the process list that is
> given in the LifeKeeper manual.
>
Received on Wed Jul 25 2018 - 08:53:04 UTC

This archive was generated by hypermail 2.3.0 : Sun May 09 2021 - 19:44:19 UTC