www.delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
DomainKey-Signature: | a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id |
:list-unsubscribe:list-subscribe:list-archive:list-post | |
:list-help:sender:reply-to:subject:to:references:from:message-id | |
:date:mime-version:in-reply-to:content-type | |
:content-transfer-encoding; q=dns; s=default; b=sxApuOy3RBPdPCbr | |
NRDqVbmCKdzUS/o6vpnlvIdiVd3yJzHSNUiqg/JOQW5MP0Z0xHM5fOoQ9kK2xP6T | |
a2JifGxWmpAoKj53+28WdPPGg57fWOW8OD5wfl/lYmlJJWkrMDtfBaHHdL1Q26sg | |
VOn3cq0LiXV38/vprGvVvI5cbkY= | |
DKIM-Signature: | v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id |
:list-unsubscribe:list-subscribe:list-archive:list-post | |
:list-help:sender:reply-to:subject:to:references:from:message-id | |
:date:mime-version:in-reply-to:content-type | |
:content-transfer-encoding; s=default; bh=IoaKDUs5jxwhBrl62pC1qQ | |
b73T4=; b=v6ACjOhOx9kz4ttimr/3Azd/pTNgSlffgcymk75GFUb3kKaPp1CzDb | |
2aoQz4KFDzMbuEydjxXBegyaCMvJJiRQ+BFDRpKzcbPB7XgCFZ3vPSjKwtari55a | |
Uril5KUfuVudnKzSXnNSRs3/EVkHSv/irMBHZ5rDbDDcTZQ6Gbmc8= | |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
Authentication-Results: | sourceware.org; auth=none |
X-Spam-SWARE-Status: | No, score=-3.3 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1 spammy=Lavrentiev, NLM, ncbi, NCBI |
X-HELO: | smtp-out-so.shaw.ca |
Reply-To: | Brian DOT Inglis AT SystematicSw DOT ab DOT ca |
Subject: | Re: cygrunsrv does not start cygsshd at boot |
To: | "'cygwin AT cygwin DOT com'" <cygwin AT cygwin DOT com> |
References: | <SN6PR09MB2877BFE37E95AE7363898E85A50A0 AT SN6PR09MB2877 DOT namprd09 DOT prod DOT outlook DOT com> |
From: | Brian Inglis <Brian DOT Inglis AT SystematicSw DOT ab DOT ca> |
Message-ID: | <32e5fb73-7965-467d-8fe5-2ac08eb4e16e@SystematicSw.ab.ca> |
Date: | Tue, 28 Jan 2020 15:28:37 -0700 |
User-Agent: | Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.4.1 |
MIME-Version: | 1.0 |
In-Reply-To: | <SN6PR09MB2877BFE37E95AE7363898E85A50A0@SN6PR09MB2877.namprd09.prod.outlook.com> |
X-IsSubscribed: | yes |
On 2020-01-28 14:56, Lavrentiev, Anton (NIH/NLM/NCBI) [C] wrote: >> As the reg entries show, you can also do this by adding or setting registry >> entries using Cygwin regtool, Windows reg, or regedit commands. > > It is better and much safer to use native Windows service controller commands, than tweaking the registry: > > sc config cygsshd start= delayed-auto Agreed, reg is useful for checking and doing in non-scripting languages. > Also, you won't need (or generally want) to use service pre-shutdown, as it can cause a very long delay when Windows restarts. > https://docs.microsoft.com/en-us/windows/win32/services/service-control-handler-function Don't see where you read that? Preshutdown happens before regular service shutdown starts. Nothing to do with startup or restart! -- Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada This email may be disturbing to some readers as it contains too much technical detail. Reader discretion is advised. -- 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |