On Friday, January 10, 2003, at 08:59  AM, David R. Morrison wrote:

Jared <[EMAIL PROTECTED]> wrote:

Hi. I have a package which currently creates a file outside /sw. It
adds a file to /etc/xinetd.d/ so your computer acts as a POP3 server so
you can get Hotmail in any e-mail client. The person who is looking
over my package isn't sure about my modifying outside /sw but in an
effort to keep it as easy for the end user as possible, I wanted it to
be automated. If I add a PostRmScript to remove the file, will this be
acceptable?
On my machine, inetd is running rather thatn xinetd. So are you sure that
this would actually work?
Well, when I did it on my machine, xinetd was running already. When I did it on my iBook, xinetd was not running so I manually started it (sudo xinetd). Now, after a restart, my iBook is still running xinetd. I have one more computer which is not running it yet and I didn't install hotway on it. I guess I well test on there and see what happens after I install hotway using my script and restart.

There is a way to do it with inetd as well, but I have to modify an existing file (/etc/inetd.conf). It is easier to include and remove a separate file like I can do with xinetd.

On a more general note, Fink's daemonic package is intended to help manage
daemons that are needed for Fink packages. Could you possibly make use
of it instead?
Well, it doesn't run as a daemon. That is, it doesn't constantly run. It only runs when you make a connection on port 110 (the POP3 port and the port I use during installation) to your computer. This is where xinetd (or inetd) comes in, as it's the software which runs hotwayd. What does Fink's daemonic package do? I'm not familiar with it.

Thanks.

-Jared




-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
Fink-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to