This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: cygrunsrv does not start cygsshd at boot
- From: "Lavrentiev, Anton (NIH/NLM/NCBI) [C] via cygwin" <cygwin at cygwin dot com>
- To: "'cygwin at cygwin dot com'" <cygwin at cygwin dot com>
- Date: Wed, 29 Jan 2020 18:55:13 +0000
- Subject: Re: cygrunsrv does not start cygsshd at boot
- Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=ncbi.nlm.nih.gov; dmarc=pass action=none header.from=ncbi.nlm.nih.gov; dkim=pass header.d=ncbi.nlm.nih.gov; arc=none
- Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=08us25fznmaV4SExqWrNmXgyYgeEtxY1xG38B2kt8Qo=; b=Gx/FoPvNqH6zGUxOEgJf2chcrOToV944eZitRytEULHSfAX+J+51bgnRONbG2qazSlFfl/j4Cf+19UTXtrR0aLsCFOM3GSOzmV3vXBFLBToRJ5YuGamtFYh7xImVBQM2xioe5xsjI7kXxwQ/oyfgvxaqbjN4isn6qgsHDxnXQjHeiXh+9/H0LEoQjwMkTwAV8w31rQN1vG/XeVLFUTmjUm/uXcN1yT0i79xUGx2F6l7kcdiwRMMoJB7GYTF4XNfQFnVv/pYhrbvoyQjsCnMRaz2mYBnr7HmVzJkkJ4PV+WUghG8b0LY7mYfLbjPRs+oBEu5LaRatJYihd3fhwXF1YA==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=XVLrVTfOOpoQqgpG+zkzaE6SSwBLs9dnlTC2TzMxD55z0sSwG37kbtJRIk5WBdn4jB3Hh3Q+h7HwIbRumHEp7M6k5xy6yrOpRtjDZ8Me2dWLsvSm21niJFjCqoUrPGPA8fY6k+iFJE8Nmb5vYa0G5X7HidZRNxcWtiHvxEXl3VKZORnu9R+aUnskwQJei64F/1DoPHKs0qfLMmkD2Iky5iNMEPsIqhhv6W4MSl/AYIgt2fmOuUl7w/ur4ZOgQr3fTH1R8vraLztkEOwZIxCRKlCTEE+Dk6KX86TQg4iHCoKWPiWZ3Nvtjz7eBauibyb4Yd4ylZUnKSlf+QydmJYcfQ==
- Ironport-sdr: VyNVZjoEiJ3UcKMpYWp8MS6Bpz1cu2r5ftC11daN0KRC3ICqFEaqtGyeb+h0eOqZoFljAADDt1 cYiuVpNPwh+w==
- Reply-to: "Lavrentiev, Anton (NIH/NLM/NCBI) [C]" <lavr at ncbi dot nlm dot nih dot gov>
> 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