X-Recipient: archive-cygwin@delorie.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:date:from:reply-to:message-id:to:subject
	:in-reply-to:references:mime-version:content-type
	:content-transfer-encoding; q=dns; s=default; b=yksbNH++PH46Ya7k
	4vem2Z2sgPIqy63On414jxIS/t/32+XYPUcgUbL52G2hHdF4ndNb5VEa42A4SyeE
	5IW5D5ckUvVCNJ8lTsKP+zXZgyhOmEJfa8kcNDQLy8Tot10Ly0Y7oiJ667vizwfS
	77eLVqJFlGXBTzWUuF3ZhXQDid0=
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:date:from:reply-to:message-id:to:subject
	:in-reply-to:references:mime-version:content-type
	:content-transfer-encoding; s=default; bh=v1HC5tFfEoXESkIsluEQ4F
	ErOb8=; b=BGJVK1Bnq7UgTOPsZB8s2uBRLll5REJF+F/KMxEG1tK4JE2v+CDBZt
	hCNfiBGZXkSv1KLB1mOgPIHSX17gaEwUvcyOWkJwZLtS/Yd3o6Vqkcqjzbn96FMt
	U8Eqe2bzLh8wyZgEUhjPQGsogEASZfP9idphHwL/yOxlJ9RUv3DgQ=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Spam-SWARE-Status: No, score=-0.7 required=5.0 tests=BAYES_00,FREEMAIL_FROM,KAM_THEBAT,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=no version=3.3.2 spammy=HX-Priority:Normal, english, H*M:yandex, H*UA:Bat!
X-HELO: forward103p.mail.yandex.net
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1550231403;	bh=1hT9q3lfn5m/47M589LwDBZPV/TpsVWVrXBL3fiWa6c=;	h=Date:From:Reply-To:Message-ID:To:Subject:In-Reply-To:References;	b=nmsOBl8lS0wOgOTn0i2yN4kTUUgc3EjUAYMbkX+GLdgxjNbdvJLKPEcGTbh5caue3	 SH7+Ze/uV7oCSTMLJ/muG1V3rv+4hbO4SWTkZay1YTatSwUCW8mL4e5eAKifrq2mma	 zY5o4WTGJjDGKWeraaWvyUuNZwj8MQdjgb2pALQQ=
Authentication-Results: mxback16g.mail.yandex.net; dkim=pass header.i=@yandex.ru
Date: Fri, 15 Feb 2019 14:44:47 +0300
From: Andrey Repin <anrdaemon@yandex.ru>
Reply-To: cygwin@cygwin.com
Message-ID: <471075939.20190215144447@yandex.ru>
To: "Lavrentiev, Anton (NIH/NLM/NCBI) [C]" <lavr@ncbi.nlm.nih.gov>,
        cygwin@cygwin.com
Subject: Re: cygrunsrv to have a timeout parameter for service startup
In-Reply-To: <BL0PR0901MB3236D41983198109E0643AE7A5670@BL0PR0901MB3236.namprd09.prod.outlook.com>
References: <BL0PR0901MB3236D41983198109E0643AE7A5670@BL0PR0901MB3236.namprd09.prod.outlook.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes

Greetings, Lavrentiev, Anton (NIH/NLM/NCBI) [C]!

> It looks like the cygrunsrv utility hardcodes 30 seconds as a maximal time
> for a service to start, then bails out with a failure.

No, 30 seconds is a hard system timeout in which a service must reply with an
appropriate control message to let services.exe know it is ready to continue
startup sequence.

> It would be quite useful (in certain situations) to have a command-line
> parameter (for the -I option) that can specify a service startup timeout,
> longer or shorter than the preset default.

Is there such a feature at all to begin with?
A link to MSDN would suffice.


-- 
With best regards,
Andrey Repin
Friday, February 15, 2019 14:42:40

Sorry for my terrible english...


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

