supervision - discussion about system services, daemon supervision, init, runlevel management, and tools such as s6 and runit
 help / color / mirror / Atom feed
* runit don't restart service.
@ 2018-07-25  6:29 Yoshinori Sato
  2018-07-25  8:35 ` Jonathan de Boyne Pollard
  0 siblings, 1 reply; 3+ messages in thread
From: Yoshinori Sato @ 2018-07-25  6:29 UTC (permalink / raw)
  To: supervision

Hello.

I'm using runit-2.1.2. I have a question about this.

I checked the operation at the time of service abnormality.

- before problem.
[root@nodeA ec2-user]# ps -ewwwf |grep lkcheck
root     10647 10592  0 7月13 ?  00:00:00 /opt/LifeKeeper/sbin/runsv lkcheck
root     12521 10647  0 7月13 ?  00:00:02 /opt/LifeKeeper/bin/lkcheck
root     12523 12521  0 7月13 ?  00:00:00 /opt/LifeKeeper/bin/lklogmsg
-p lkcheck -l LK_ERROR -s runit -t  -a uncaught_error -i 0 -c
/opt/LifeKeeper/bin/lkcheck
root     25993 23089  0 02:19 pts/0    00:00:00 grep --color=auto lkcheck

lkcheck is runit managed service process.

- terminate service
[root@nodeA ec2-user]# kill 10647 12521

- restart check
[root@nodeA ec2-user]# ps -ewwwf |grep lkcheck
root     26053 10592  0 02:20 ?        00:00:00
/opt/LifeKeeper/sbin/runsv lkcheck
root     26056 23089  0 02:20 pts/0    00:00:00 grep --color=auto lkcheck

I was hoping that lkcheck was restarting.
However, it has not restarted.

I would like to know if this behavior is a specification.

Thanks.


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-07-25  8:53 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-07-25  6:29 runit don't restart service Yoshinori Sato
2018-07-25  8:35 ` Jonathan de Boyne Pollard
2018-07-25  8:53   ` Yoshinori Sato

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).