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:from:reply-to:to:subject:date:message-id
	:content-type:content-transfer-encoding:mime-version; q=dns; s=
	default; b=NAGus/KcoxuMhaBO8mhvsEl24ufZaKe5C7AKCkRC3/4zle81WN0Jr
	wvQjDpBbvTerQWEpXhBIfYteGg3IwA8+gdynSPb9lLC3Keq7ssEMFEozTOmkp6fX
	TFE2Z7eeErgyHz7gam2QNXnWub7E2W9MdAXQGA5mTn2NqgPQKEl4ig=
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:from:reply-to:to:subject:date:message-id
	:content-type:content-transfer-encoding:mime-version; s=default;
	 bh=RwkElBM8lmUw8oZ6gGhzXGB9NP8=; b=OTw5WuULzQXVeNiSINpRwQAAZRGo
	Bimyotfq0tW4hc0CYMUzMWlreviNnYnPm6OflkKfqfi8joziFd4LUQ9ctolOXl7s
	cxGC6e2L1qGFHmyB0llTwMazmnZy6Eu5qJsD/tKuRbQyde+paHC0i41F0jRhkPMx
	eqfK7hVgyz7R6cU=
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=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 spammy=shutdown, Hx-languages-length:518, ps, PS
X-HELO: nihcesxwayst02.hub.nih.gov
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;  d=nih.gov; i=@nih.gov; q=dns/txt; s=NIH; t=1550177280;  x=1581713280;  h=from:to:subject:date:message-id:   content-transfer-encoding:mime-version;  bh=86jAhpCLJ3JF9LzO3vfnwMJ5QGlzL2rHsPo0ha43ltk=;  b=UQogqwCAfKXf0m2LHdTEgJlCePrqLrKWb+qKBwnWIdIWQY4CI8uWDnZo   uqf1/XVAwH+dEfHA25s3eaYtdzeMddO4PzJ99IZ7BXpGlXphZJ958ke5c   jvVpHSh5zgPw1N1Se67F40B8Crxt2FcLVblsqKJUp2Qz5JYYH21f5K6F8   L1vTonhawPwpijeD76rcE2uRVkFYvcPtWB68cA+p6hpCXXtpOe+WYJ9r6   kPDbXjcaJrQDPtSt2aoeldZRl/x9Q2a6xScuGt630LWoqopgaQqAOTBH3   no23msSvd4lnTqQpAxHBU34plHOQtJDAYkngGEXXwwrAfCMtC+ozJ22hd   w==;
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nih.onmicrosoft.com; s=selector1-ncbi-nlm-nih-gov; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=86jAhpCLJ3JF9LzO3vfnwMJ5QGlzL2rHsPo0ha43ltk=; b=YIH62TaauLEOGkSiNuVIqNvA1nF5K05L1lJ6UyHWd3sVtdWlt3Que54fY0y3Cq2QA6viHbaVHw0UecJJCW6kinIsbQkoTfTYL4c7bsE0GYcoStnOzsCUGfEbOIABQq1MaSEGS18u+CQrAMPztSKmTlh3UcWo95MA1iTimWN1TGI=
From: "Lavrentiev, Anton (NIH/NLM/NCBI) [C] via cygwin" <cygwin AT cygwin DOT com>
Reply-To: "Lavrentiev, Anton (NIH/NLM/NCBI) [C]" <lavr AT ncbi DOT nlm DOT nih DOT gov>
To: "'cygwin AT cygwin DOT com'" <cygwin AT cygwin DOT com>
Subject: cygrunsrv to have a timeout parameter for service startup
Date: Thu, 14 Feb 2019 20:47:38 +0000
Message-ID: <BL0PR0901MB3236D41983198109E0643AE7A5670@BL0PR0901MB3236.namprd09.prod.outlook.com>
authentication-results: spf=none (sender IP is ) smtp.mailfrom=lavr AT ncbi DOT nlm DOT nih DOT gov;
x-ms-exchange-senderadcheck: 1
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id x1EKmHae017543

Hi all,

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

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.

Thanks for considering this,
Anton Lavrentiev

P.S. Maybe for the service shutdown as well, separate or the same parameter used.

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