On Mon, Oct 10, 2011 at 10:33 AM,  <meino.cra...@gmx.de> wrote:
> Hi,
>
> I have read several docs to figure out this...all docs do changes
> in /etc/conf.d but I found no hint how to transfer that settings
> to the "real" configuration files of the according programs.
>
> env-update & etc-update do not help...
>
> What tool do I have to call to acchieve this?

/etc/conf.d is like /etc/sysconfig in RedHat/Fedora and /etc/default
in Debian: they were introduced to pass environment variables and
(cometimes) extra arguments to the daemons in /etc/init.d.

So, if you have /etc/init.d/foo, you can put environment variables and
(perhaps) extra args for the daemon in /etc/conf.d/foo. You don't need
to "transfer" anything; when you do

/etc/init.d/foo start

the variables in /etc/conf.d/foo are readed and passed to the daemon.

It's a distro specific directory (again, like /etc/sysconfig in
RedHat/Fedora and /etc/default in Debian), and the "real"
configuration of the daemon will probably be on /etc/foo (if at all).
The new init systemd doesn't need this kind of distro-specific thing,
instead pushing the configuration where it belongs, only in /etc/foo
(or whatever). I highly recommend it.

Regards.
-- 
Canek Peláez Valdés
Posgrado en Ciencia e Ingeniería de la Computación
Universidad Nacional Autónoma de México

Reply via email to