cygrunsrv does not start cygsshd at boot

Lavrentiev, Anton (NIH/NLM/NCBI) [C] via cygwin cygwin@cygwin.com
Wed Jan 29 18:55:00 GMT 2020


> Don't see where you read that?

The service control manager waits until the service stops or the specified preshutdown time-out value expires (this value can be set with the ChangeServiceConfig2 function). This control code should be used only in special circumstances, because a service that handles this notification

* blocks system shutdown *

until the service stops or the preshutdown time-out interval expires.

> Is that not better than abruptly terminating an sshd session, or abandoning sending a large email?

Depends.  When you are ready to reboot you usually don't have anything important running by then.

Also, emails "abandoned" while sending will be re-sent, in most decent mailers.

Finally, when you do need the pre-shutdown option, you can specify it with cygrunsrv directly (-O, --preshutdown)
 -- no need to deal with any manual registry changes.


--
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