nnrpd development

Russ Allbery rra at stanford.edu
Wed Feb 6 05:47:23 UTC 2002


Jeffrey M Vinocur <jeff at litech.org> writes:

> Hmm.  So the trick that people have been using is to compile an extra
> copy of nnrpd in a different tree, with a different location of
> inn.conf.  How much work would it be to make the inn.conf used
> specifiable at runtime?

As you discovered, it already is by setting INNCONF.  :)

> Whoa.  Wait.  From lib/getconfig.c

>     if (!(innconffile = getenv("INNCONF")))
>         innconffile = _PATH_CONFIG;

> do we already have the functionality I described above, using
> environment variables?

Yup.

-- 
Russ Allbery (rra at stanford.edu)             <http://www.eyrie.org/~eagle/>


More information about the inn-workers mailing list