supervision - discussion about system services, daemon supervision, init, runlevel management, and tools such as s6 and runit
 help / color / mirror / Atom feed
From: "Radek Podgorny" <radek@podgorny.cz>
To: supervision@list.skarnet.org
Subject: Re: Recommended steps for upgrading?
Date: Mon, 30 Jun 2008 10:49:13 +0200 (CEST)	[thread overview]
Message-ID: <3036.56146065823$1214815815@news.gmane.org> (raw)
In-Reply-To: <87lk0pweea.fsf@asfast.com>

> Lloyd Zusman <ljz@asfast.com> writes:
>
>> [ ... ]
>>
>> Here are my steps. Can any of you could suggest improvements? Thanks in
>> advance.
>
> I'm sorry for responding to my own message, but I left a step out of my
> procedure. Here's the corrected version:
>
>   # cd /service
>   # for i in *
>   > do
>   > sv stop $i
>   > done

"sv st /service/*" works for me so "sv stop" should work, too IMHO...

>   # vi /etc/inittab   # (I'm using sysvinit and inittab)
>   ... comment out this line, save the file, and then exit from vi:
>   SV:123456:respawn:/sbin/runsvdir-start
>
>   # init q
>
>   # pkill -f runsv
>   # pkill -f svlogd  # (this is the step I left out)
>
>   # cd /etc/sv
>   # find . -name ok | xargs rm
>   # find . -name lock | xargs rm
>   # find . -name control | xargs rm
>
>   Now, do the complete runit upgrade.
>
>   Then ...
>
>   # vi /etc/inittab
>   ... un-comment the line that I commented out above,
>   ... save the file, and then exit from vi
>
>   # init q
>
>
> --
>  Lloyd Zusman
>  ljz@asfast.com
>  God bless you.
>
>




  reply	other threads:[~2008-06-30  8:49 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-28 19:11 Lloyd Zusman
2008-06-28 19:25 ` Lloyd Zusman
2008-06-30  8:49   ` Radek Podgorny [this message]
2008-06-30 10:05     ` Lloyd Zusman

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='3036.56146065823$1214815815@news.gmane.org' \
    --to=radek@podgorny.cz \
    --cc=supervision@list.skarnet.org \
    /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).