This is the mail archive of the
cygwin
mailing list for the Cygwin project.
RE: Remove cygwin services
- From: Igor Pechtchanski <pechtcha at cs dot nyu dot edu>
- To: Herb Martin <HerbM at learnquick dot com>
- Cc: cygwin at cygwin dot com
- Date: Mon, 15 Aug 2005 22:16:02 -0400 (EDT)
- Subject: RE: Remove cygwin services
- Reply-to: cygwin at cygwin dot com
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/
|\ _,,,---,,_ pechtcha@cs.nyu.edu
ZZZzz /,`.-'`' -. ;-;;,_ igor@watson.ibm.com
|,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/