From: Charlie Brady <charlieb-supervision@budge.apana.org.au>
To: Peter Hickman <peterhickman386@googlemail.com>
Cc: "<supervision@list.skarnet.org>" <supervision@list.skarnet.org>
Subject: Re: Installing on Centos
Date: Thu, 9 May 2013 11:08:33 -0400 (EDT) [thread overview]
Message-ID: <Pine.LNX.4.64.1305091106450.22981@e-smith.charlieb.ott.istop.com> (raw)
In-Reply-To: <CALxYQy73YS7qWep=MkYH=EoK65FW2RUvMyRU0E92JKnoAqi0CA@mail.gmail.com>
On Thu, 9 May 2013, Peter Hickman wrote:
> Thanks but it would seem that Centos 5.8 does not have an /etc/init
> directory only an /etc/init.d
Sorry, my bad. I was thinking of rhel6/centos6.
>
> But thanks to your hint I have found the command that does the work
>
> # cat runsvdir-start
> #!/bin/sh
>
> PATH=/usr/local/bin:/usr/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R6/bin
>
> exec env - PATH=$PATH \
> runsvdir -P /etc/service 'log:
> ...........................................................................................................................................................................................................................................................................................................................................................................................................'
>
> Now all I need to do is turn this into an init.d script
You can add this in /etc/inittab:
sv:345:respawn:/etc/runit/2
next prev parent reply other threads:[~2013-05-09 15:08 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-05-07 9:30 Peter Hickman
2013-05-07 10:56 ` Alex Efros
2013-05-07 11:17 ` Peter Hickman
2013-05-07 17:47 ` Joshua Timberman
2013-05-09 13:03 ` Peter Hickman
2013-05-09 14:49 ` Charlie Brady
2013-05-09 15:05 ` Peter Hickman
2013-05-09 15:08 ` Charlie Brady [this message]
2013-05-09 15:37 ` Joshua Timberman
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=Pine.LNX.4.64.1305091106450.22981@e-smith.charlieb.ott.istop.com \
--to=charlieb-supervision@budge.apana.org.au \
--cc=peterhickman386@googlemail.com \
--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).