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

Cary Lewis
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:
Unsubscribe info:

More information about the Cygwin mailing list