This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Cygwin service doesn't get NT shutdown notification


Hi All...

>I've used that configuration -- well, actually, I used the similar
>'invoker' wrapper -- but neither srvany nor invoker seems to provide
>any way to do a soft shutdown of the controlled service process.
>Also, srvany is not freely available (as you mention later).
>
>If I can't get this to work correctly in Cygwin, I may just write a
>wrapper similar to srvany that would call a user-specified program in
>the event of the stop or shutdown notifications, giving the managed
>service process a chance to shutdown gracefully.

This may be the same fork/detach issue that I had with sshd as a service. 
See the recent

Re: Invoker Question

thread. It may be helpful.

Thanks,

...Karl
_________________________________________________________________
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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]