On Thu, Aug 10, 2000 at 01:28:36PM -0500, Brandon wrote:
> 
> > It would not really need root access to install it in your home
> > directory and have the spool directory in your home directory,
> 
> If you don't need to be root then I am happy and it will be less
> irritating than most software for Linux. :-)
> 
> Another thing which would make it not annoying is if you didn't have to
> set any environment variables for it to run.

Well, environment variables may be required to override default
configuration file and spool directory locations.

Okay, so here is what the default files looked for are (in the order
they are looked for (note that if more than one configuration file
exists, files later on the list override settings which are also
specified in earlier files):

Default configuration files
---------------------------
/etc/nfreenetd.conf
/usr/etc/nfreenetd.conf
/usr/local/etc/nfreenetd.conf
$HOME/.nfreenetd.conf

Default spool directories (configurable)
--------------------------------------
/var/spool/freenet
$HOME/.freenet_spool

These will help make nfreenetd work as both a system service running
under daemon or a dedicated UID, or as a user invoked program.
However, it would probably always go into a daemon state after being
invoked.  Another thing about it is that all logging and messages
would be handled by syslogd (if you searched the source code for
nfreenetd, you would find *lots* of syslog() calls).  Maybe I will
also make logging configurable (but would still default to using
syslogd).

-- 
Travis Bemann
Sendmail is still screwed up on my box.
My email address is really bemann at execpc.com.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 1564 bytes
Desc: not available
URL: 
<https://emu.freenetproject.org/pipermail/devl/attachments/20000810/db7e3cef/attachment.pgp>

Reply via email to