supervision - discussion about system services, daemon supervision, init, runlevel management, and tools such as s6 and runit
 help / color / mirror / Atom feed
From: Gerrit Pape <pape@smarden.org>
Subject: Re: service definition vs service activation
Date: Thu, 16 Mar 2006 10:46:15 +0000	[thread overview]
Message-ID: <20060316104615.24944.qmail@ba4c715b93ce2d.315fe32.mid.smarden.org> (raw)
In-Reply-To: <20060307183522.GB17273@home.power>

On Tue, Mar 07, 2006 at 08:35:22PM +0200, Alex Efros wrote:
> 1)  Service definition directory can use symlinks to suit FHS:
> 	/etc/sv/SERVICE/supervise     -> /var/run/sv/SERVICE/
> 	/etc/sv/SERVICE/log/supervise -> /var/run/sv/SERVICE/log/
>     and ./log/run can start svlogd with /var/log/SERVICE/ as param.
>     
>     That way /etc/ will contain only static configuration files, while
>     logs and ./supervise/ dir will be on /var/.
>     Service activation directory is /var/service/ or /var/sv/.

This is what I would suggest too.  My personal preference is to have all
configurations of a service collected in a single directory, the service
directory is a nice place for that.  The only non-configuration files in
a service directory are in the ./supervise/ directories, and runit
allows you to make them symlinks, even dangling ones, to put them
anywhere on the filesystem you like.  The FHS doesn't reflect all my
personal preferences, but I adhere to it while Debian development; where
the FHS and by preferences differ, I use symlinks.

So, in my opinion, the /etc/sv/ directory is just fine to put the
services directories in, previously I put them into /etc/.

Regards, Gerrit.


  parent reply	other threads:[~2006-03-16 10:46 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-03-06 16:05 runit-1.4.0 available Gerrit Pape
2006-03-06 19:13 ` service definition vs service activation Wayne Marshall
2006-03-06 21:54   ` Gilles
2006-03-07  5:21     ` Joshua N Pritikin
2006-03-07 18:35   ` Alex Efros
2006-03-08  5:18     ` Joshua N Pritikin
2006-03-16 10:46     ` Gerrit Pape [this message]
2006-03-08 15:40   ` Christian Holtje
2006-03-08 16:04     ` Joshua N Pritikin
2006-03-20 21:17 ` runit-1.4.1 available Gerrit Pape
2006-03-07 13:30 service definition vs service activation Joshua N Pritikin
2006-03-07 17:46 ` Joshua N Pritikin

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=20060316104615.24944.qmail@ba4c715b93ce2d.315fe32.mid.smarden.org \
    --to=pape@smarden.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).