All of lore.kernel.org
 help / color / mirror / Atom feed
From: Steffen Sledz <sledz@dresearch.de>
To: openembedded-devel <openembedded-devel@lists.openembedded.org>
Subject: policy for application specific config files?
Date: Mon, 17 May 2010 08:53:50 +0200	[thread overview]
Message-ID: <4BF0E7FE.4000306@dresearch.de> (raw)

Is there a policy to handle application specific config files?

Let's say we've this situation: A service (let's say rsyslog)
is started with a parameter telling it the config file to use.
The name of the config file can be set using a variable CONFFILE
in file /etc/default/rsyslog which can be overwritten for distros
or machines easy.

But i like to use specific config files for different applications
(represented by extra recipes/packages).

A solution could be to modify /etc/default/rsyslog in a way that
it looks for other files existing in e.g. /etc/rsyslog.d and
sourcing them all after it's own code. So the other packages can
install files into this dir allowing to redefine CONFFILE without
interfering with the files from rsyslog package.

Is this the way it goes?

Regards,
Steffen




                 reply	other threads:[~2010-05-17  6:57 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=4BF0E7FE.4000306@dresearch.de \
    --to=sledz@dresearch.de \
    --cc=openembedded-devel@lists.openembedded.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.