cygrunsrv - services enters stopped state if underlying program exits or is killed - doesn't auto restart

Cary Lewis cary.lewis@gmail.com
Tue Jan 27 00:07:00 GMT 2015


I am using cygrunsrv to install a windows service that creates an ssh tunnel.

I have configured the service to auto-restart on failures using the
windows 7 services.msc tool.

If the ssh program exists, or is killed, cygrunsrv gracefully exits,
and the windows auto-restart logic is not invoked.

Is there a way to get the auto-restart logic to work?

Thank you.

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



More information about the Cygwin mailing list