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:date:from:to:subject:message-id:reply-to :references:mime-version:content-type:in-reply-to; q=dns; s= default; b=xu+avafhYAmeiIP2/R6bT5qDVex4DmxUTWJsH0GghYVhTaU3AVtip L+H2nRf5sdKCuV2rI9Kp7qBiyHjpW5TPhI1Hdvt5lpqCETFeNDWDKDcZ6Rc33qOO 0pIx+XinasGAy/aWRSClM2eMCfPeXzt/2bvyZpc5XnLhrVt80RBsfE= 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:to:subject:message-id:reply-to :references:mime-version:content-type:in-reply-to; s=default; bh=5H4kOq51TTMcok0EF754NZPAUz4=; b=cKB+xBNpw9FP8VEE42XPo37L7K4n Zqd5Ug0ZOhlEGtAcswoRpg8ED4D8iN9vh1i3AKryk0hw2oGA/hTIlpgcNY0SBDmP ZXFw6gz/XNvMtcatQRqEcergZKpCWSMgcTaT8yrY/MfjmK0McJW9STi8e4EvY1Cc 7KXrHyXafVQui1Y= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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=-5.0 required=5.0 tests=AWL autolearn=ham version=3.3.2 X-HELO: calimero.vinschen.de Date: Tue, 27 Jan 2015 10:09:10 +0100 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: cygrunsrv - services enters stopped state if underlying program exits or is killed - doesn't auto restart Message-ID: <20150127090910.GF14265@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="+ts6NCQ4mrNQIV8p" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) --+ts6NCQ4mrNQIV8p Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Jan 26 11:14, Cary Lewis wrote: > I am using cygrunsrv to install a windows service that creates an ssh tun= nel. >=20 > I have configured the service to auto-restart on failures using the > windows 7 services.msc tool. >=20 > If the ssh program exists, or is killed, cygrunsrv gracefully exits, > and the windows auto-restart logic is not invoked. >=20 > Is there a way to get the auto-restart logic to work? Try the cygrunsrv option --neverexits. If this option is set, the service exits without notifying Windows. SCM thinks the service has exited prematurely and restarts it, if auto-restart has been configured. HTH, Corinna --=20 Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat --+ts6NCQ4mrNQIV8p Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBAgAGBQJUx1W2AAoJEPU2Bp2uRE+giK0P/iZZqU5DOMzD2RfPaEQcsItS EkmfMrbfUVvbmCSxlfIXCw3a9DrgOgn6P3nArQd5N7BiD5tPIY1PL34BONDFoBtW ArCud/esB1TOnzZ5R4zXQBbESWM7s32wlHuuQ4CucDFY7ahqUAVT7aFVhDZnVs17 6prSSSoSuHwUnUHhRCs13jQnqRM9GV5XEXLo7mKnp/aD8TQ8vOnaM93cF3YIP5vP dAlZOBhBeOWOPRWcugrtSaXdDbtiYBV9raMHW1cu4h/AREOQ540bk0jC6tXT7OJL Wlxs1x7aEjy2onbqDt8ilMsd6T2uuuyAXOp9LTt/YvLvoYnk/ZqwtzRTQkU/fcA/ Fa57j3DOe0jqCtOTBQX7GRdFHVT273NMf0MPjpM00m5FLaMhgzriiH7VbSMkFbGt Di3nIQzp14yaw1hbJS7u36WfAxSXCW9C/1U82ur52duFseSUl8Ndl3qnXFmDeg5B Da/8dNBo9JNnMFCSMSArhF9JkltCqtayZROK5kXhrYk3+oMBkBr5AASgtpj108Qy giDlXn4K4cfVmXgMbYvDYTnXt/rBndr/g8R9oQuFKQkS+hlOaRIpwx0FehiR59Bp FbEqptz+hOznCgmZ1K+HI+UhO4eBsfum2ivLeyUFDbJYnhOfL6ya9UJ9Xc/Zx0w7 fngf2f2B9MYURn5cppn7 =TaxH -----END PGP SIGNATURE----- --+ts6NCQ4mrNQIV8p--