supervision - discussion about system services, daemon supervision, init, runlevel management, and tools such as s6 and runit
 help / color / mirror / Atom feed
From: "Dražen Kačar" <dave@fly.srk.fer.hr>
Subject: sv restart bug?
Date: Tue, 24 Oct 2006 19:38:34 +0200	[thread overview]
Message-ID: <20061024173834.GB14227@fly.srk.fer.hr> (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


             reply	other threads:[~2006-10-24 17:38 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-10-24 17:38 Dražen Kačar [this message]
2006-11-01 12:10 ` Gerrit Pape

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20061024173834.GB14227@fly.srk.fer.hr \
    --to=dave@fly.srk.fer.hr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).