[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Server Adjustments

From: Alfred M. Szmidt
Subject: Re: Server Adjustments
Date: Tue, 15 Dec 2009 13:02:40 -0500

   But right now, I've a little problem because my server has a
   configuration file. I thought that the best place to place it would
   be the /etc folder... It seems that it's precisely the default
   value of $(sysconfigdir), but I don't know if it's possible to my
   server (my programm) knows this value from the header config.h.

   Furthermore, the configuration file should be placed in
   $(sysconfigdir) at the install process.

Please don't, that would overwrite any local changes.

   So, Makefile should receive the value of $(sysconfigdir) from the
   configuration process.

You can pass something like `-DCONFFILE=$(sysconfdir)/foo.conf' in when compiling via foo_CPPFLAGS so that the program can
find the configuration file in the right spot.

    What do you suggest ?

Not installing it, period; that is what we do for inetutils with for
example inetd which requires $(sysconfdir)/inetd.conf to work. Put a
note in the documentation, with an example configuration file.  Anyone
installing a program should have read the README, INSTALL and the

reply via email to

[Prev in Thread] Current Thread [Next in Thread]