This is the mail archive of the
mailing list for the Cygwin project.
Re: Invoker question
- To: cygwin at cygwin dot com
- Subject: Re: Invoker question
- From: "Karl M" <karlm30 at hotmail dot com>
- Date: Fri, 27 Apr 2001 09:42:09 -0700
Invoker works just fine now. I can do a soft stop (and start :) of
the servive with either srvany or invoker. This is quite handy.
You know...I didn't find this feature until I was looking through
the source code to see where to patch it to prevent the fork and
detach. And...there it was. Just amazing!
>From: "Karl M" <email@example.com>
>To: firstname.lastname@example.org, email@example.com
>Subject: Re: Invoker question
>Date: Thu, 26 Apr 2001 17:11:47 -0700
>I will now answer my own question.
>sshd wants (I could hear it talk to me) the -D option to be provided when
>run as a service (SrvAny, Invoker, ...) on WinNT/Win2000. The -D option
>prevents sshd from forking and detaching (which is a good thing in the *nix
>world). Instead, the process stays under the control of the service wrapper
>(SrvAny, Invoker, ...), so it can be stopped and started at will.
>I have tested this with SrvAny. I believe it will resolve the problem I had
>with Invoker as well. I will check it tomorrow.
>>From: "Karl M" <firstname.lastname@example.org>
>>Subject: Invoker question
>>Date: Wed, 28 Mar 2001 13:33:22 -0800
>>I'm using Invoker to install sshd as a service on a win2k box.
>>I set it up to automatically start sshd when the machine boots up.
>>It works fine, except that it shows the service as stopped even though it
>>started and so it won't let you stop the service. Attempting to start the
>>service again results in the Overlapped I/O error message that I have seen
>>mentioned in this mailing list.
>>Is this an inherent limitation of invoker (with win2k?) or do I need to
>>things up differently?
Get your FREE download of MSN Explorer at http://explorer.msn.com
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple