Patch: inetd service using cygrunsrv

Thrall, Bryan bryan.thrall@flightsafety.com
Wed Jan 11 15:10:00 GMT 2006


Corinna Vinschen wrote on Wednesday, January 11, 2006 5:38 AM:
> On Jan 10 18:17, Thrall, Bryan wrote:
>> 
>> I want to run inetd as a service, but the documented way of doing
>> this (--install-as-service) requires C:\cygwin\bin be in the Windows
>> System PATH. Modifying the System PATH that way causes problems
>> elsewhere in the environment I'm working in, so I'd like to have
>> inetd work under cygrunsrv instead (which does not have this
>> requirement). 
>> 
>> I've attached a patch which adds a -D option to inetd which prevents
>> it from daemonizing, similar to the -D option sshd has.
>> 
>> Let me know what you think,
> 
> Cool!  Thanks for this patch, I've just moved the `case 'D'' part into
> the #ifdef CYGWIN area.  I've added a matching description to
> /usr/share/doc/Cygwin/inetutils-1.3.2.README and I've just uploaded
> a new inetutils package which includes your patch.
> 
> 
> Thanks again!
> Corinna
> 
> --
> Corinna Vinschen                  Please, send mails regarding Cygwin
> to Cygwin Project Co-Leader          cygwin AT cygwin DOT com
> Red Hat

You're welcome :D

-- 
Bryan Thrall
FlightSafety International
Bryan.Thrall@flightsafety.com


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list