supervision - discussion about system services, daemon supervision, init, runlevel management, and tools such as s6 and runit
 help / color / mirror / Atom feed
* sv restart bug?
@ 2006-10-24 17:38 Dražen Kačar
  2006-11-01 12:10 ` Gerrit Pape
  0 siblings, 1 reply; 2+ messages in thread
From: Dražen Kačar @ 2006-10-24 17:38 UTC (permalink / raw)


I think I've found a small bug in runit 1.7.0.

"sv restart <service>" prints out status information describing state
before restart action. For example:

{donat}~# sv stop inserter
ok: down: inserter: 0s, normally up
{donat}~# sv status inserter
down: inserter: 6s, normally up
{donat}~# sv restart inserter
ok: down: inserter: 13s, normally up      <=====
{donat}~# sv status inserter 
run: inserter: (pid 9437) 4s


It seems to me it should have printed the new state, just like "sv start"
does:

{donat}~# sv stop inserter 
ok: down: inserter: 0s, normally up
{donat}~# sv start inserter
ok: run: inserter: (pid 9539) 0s


-- 
 .-.   .-.    Yes, I am an agent of Satan, but my duties are largely
(_  \ /  _)   ceremonial.
     |
     |        dave@fly.srk.fer.hr


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

end of thread, other threads:[~2006-11-01 12:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-10-24 17:38 sv restart bug? Dražen Kačar
2006-11-01 12:10 ` Gerrit Pape

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).