Subject: Re: net/eggdrop
To: Tomasz Luchowski <zuntum@eik.pl>
From: Jared D. McNeill <jmcneill@invisible.yi.org>
List: tech-pkg
Date: 03/04/2001 13:40:26
On Sat, 3 Mar 2001, Tomasz Luchowski wrote:
> I forgot mention it's pkg/12009; url of my unfinished package is
> http://zuntum.eik.pl/pkgsrc/eggdrop.tar.gz
http://pkgsrc.invisible.yi.org/pkgsrc/eggdrop.tar.gz
The 'loading config file from a relative path' works now. We need to
figure out where we want to write PID files etc.. current directory or the
chdir() path.
I added a variable in main.c - char currdir[121] - that saves the original
directory before calling chdir(), so if you need to work in the starting
directory you can use it.
Alternately, you could remove the chdir() call altogether, and just make
_sure_ that the users set the proper module path in eggdrop.conf
Jared