supervision - discussion about system services, daemon supervision, init, runlevel management, and tools such as s6 and runit
 help / color / mirror / Atom feed
From: Peter Hickman <peterhickman386@googlemail.com>
To: Charlie Brady <charlieb-supervision@budge.apana.org.au>
Cc: "<supervision@list.skarnet.org>" <supervision@list.skarnet.org>
Subject: Re: Installing on Centos
Date: Thu, 9 May 2013 16:05:43 +0100	[thread overview]
Message-ID: <CALxYQy73YS7qWep=MkYH=EoK65FW2RUvMyRU0E92JKnoAqi0CA@mail.gmail.com> (raw)
In-Reply-To: <Pine.LNX.4.64.1305091048440.22981@e-smith.charlieb.ott.istop.com>

[-- Attachment #1: Type: text/plain, Size: 806 bytes --]

Thanks but it would seem that Centos 5.8 does not have an /etc/init
directory only an /etc/init.d

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

  reply	other threads:[~2013-05-09 15:05 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 [this message]
2013-05-09 15:08             ` Charlie Brady
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='CALxYQy73YS7qWep=MkYH=EoK65FW2RUvMyRU0E92JKnoAqi0CA@mail.gmail.com' \
    --to=peterhickman386@googlemail.com \
    --cc=charlieb-supervision@budge.apana.org.au \
    --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).