supervision - discussion about system services, daemon supervision, init, runlevel management, and tools such as s6 and runit
 help / color / mirror / Atom feed
From: Charlie Brady <charlieb-supervision@budge.apana.org.au>
Cc: supervision@list.skarnet.org
Subject: Re: apache2 run script
Date: Thu, 5 Oct 2006 19:59:47 -0400 (EDT)	[thread overview]
Message-ID: <Pine.LNX.4.64.0610051959000.20262@e-smith.charlieb.ott.istop.com> (raw)
In-Reply-To: <20061001092939.GA1057@heinlein.local>


On Sun, 1 Oct 2006, Mark wrote:

> Hello.
>
> On the apache2 run script listed under
>
>  http://smarden.org/runit/runscripts.html#apache2
>
> o recent runit-1.6.0 doesn't install '/command/pgrphack' anymore so
>  '/command/chpst -P' is required
> o GNU/Linux too requires '/command/chpst -P' otherwise Apache comes up again
>  after 'sv down'.
>
> So this is my current run script:
>
> #!/bin/sh
> exec 2>&1
> exec /command/chpst -P /usr/local/apache2/bin/httpd -DNO_DETACH

This is what I have:

exec 2>&1
exec chpst -P /usr/sbin/httpd -f $config -D FOREGROUND



      parent reply	other threads:[~2006-10-05 23:59 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-10-01  9:29 Mark
2006-10-05 23:58 ` Alex Efros
2006-10-06  6:12   ` Vincent Danen
2006-10-06 14:27     ` Charlie Brady
2006-10-06 14:30   ` Charlie Brady
2006-10-06 15:37     ` Alex Efros
2006-10-06 15:46       ` Charlie Brady
2006-10-06 15:57         ` Alex Efros
2006-10-06 16:01           ` Paul Jarc
2006-10-06 16:21             ` Alex Efros
2006-10-07  0:15               ` Charlie Brady
2006-10-07  0:23                 ` Alex Efros
2006-10-07 18:44                 ` Paul Jarc
2006-10-05 23:59 ` Charlie Brady [this message]

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.0610051959000.20262@e-smith.charlieb.ott.istop.com \
    --to=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).