On Fri, 12 Aug 2005, Herb Martin wrote: > It might help (pure speculation) to enable one of the "signals" > when creating Cygwin-Apps as services. This way the "stop" > will include a HUP or TERM.
$ cygrunsrv --help 2>&1 | grep -C2 'HUP' -s, --termsig <signal> Optional signal to send to service application when service is stopped. <signal> can be a number or a signal name such as HUP, INT, QUIT, etc. Default is TERM. -y, --dep <svc_name2> Optional name of service that must be started As you can see, cygrunsrv sends SIGTERM to processes by default when the service is stopped. Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ [EMAIL PROTECTED] ZZZzz /,`.-'`' -. ;-;;,_ [EMAIL PROTECTED] |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D. '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! If there's any real truth it's that the entire multidimensional infinity of the Universe is almost certainly being run by a bunch of maniacs. /DA -- 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/