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:date:from:to:subject:message-id:reply-to | |
:references:mime-version:content-type:in-reply-to; q=dns; s= | |
default; b=xfz1wbpT995H1AYwLqR9gLtqwbc4RKOaP0c1W1iMh97VvWIuYZrMM | |
6WtyEKq8FO6VK1RdZvomjlCxHJJYivtTiZBbyzMPzU0Zukbpx+oLoRkwGSBOREKJ | |
oF6uJviYXFK3rYtY+2inGO1T7H2e1xfoREAh1e3Z/JmiWYuNp7btDI= | |
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=xaQCxz/Yvao/F+aKLCSqfxMBx/A=; b=AStd+TmddI/VMBYnagA9hik097P7 | |
HmDt3nkRKuwB0MSI61TlajH5wzlmxKyfc5mCRfNk5kgXSLdPas587q8Ao2LIBjai | |
/9kwA7JuT6/snHvibC74pnXU+grrtNKXbZm0LdrzJtgyhZ7GIGbA4NIHcuT9jTLJ | |
0iKF7KWd48Klwbg= | |
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=-5.0 required=5.0 tests=AWL autolearn=ham version=3.3.2 |
X-HELO: | calimero.vinschen.de |
Date: | Wed, 28 Jan 2015 12:55:18 +0100 |
From: | Corinna Vinschen <corinna-cygwin AT cygwin DOT com> |
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: | <20150128115518.GZ14265@calimero.vinschen.de> |
Reply-To: | cygwin AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
References: | <CAEF1h+Wghm86TybnaLMz9TdX5NUV15aNBAC1KZ1dKhUOVZ-_Qg AT mail DOT gmail DOT com> <20150127090910 DOT GF14265 AT calimero DOT vinschen DOT de> <CAEF1h+XeFp_OCDNo-ok_EW=-1h94=mQRRz_ucZsix4wmow+WvQ AT mail DOT gmail DOT com> <20150128101833 DOT GX14265 AT calimero DOT vinschen DOT de> |
MIME-Version: | 1.0 |
In-Reply-To: | <20150128101833.GX14265@calimero.vinschen.de> |
User-Agent: | Mutt/1.5.23 (2014-03-12) |
--95n2dZZDVPvlnkUw Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Jan 28 11:18, Corinna Vinschen wrote: > On Jan 27 15:02, Cary Lewis wrote: > > On Tue, Jan 27, 2015 at 4:09 AM, Corinna Vinschen > > --neverexits works, but not if the program that cygrunsrv starts is > > stopped with a kill -9 signal. Perhaps the -9 signal propagates to the > > cygrunsrv.exe program? >=20 > Hmm, yes. Cygrunsrv evaluates how the service process ended, and only > if it exited the neverexits logic comes into play. If it ended due to > a signal, it does nothing. >=20 > This is unfortunate because it diminishes the usefulness of --neverexits. > I could patch cygrunsrv to do this: >=20 > If the service exited due to a signal, and if that signal is not the > defined termination or shutdown signal (default SIGTERM for both), > and if --neverexits has been defined, then performas the neverexits > action. >=20 > Does that sound ok? >=20 > The patch is simple and I could upload a new cygrunsrv today or tomorrow. https://cygwin.com/ml/cygwin-announce/2015-01/msg00041.html Corinna --=20 Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat --95n2dZZDVPvlnkUw Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBAgAGBQJUyM4mAAoJEPU2Bp2uRE+gVucP/ihN57uwI3sE+useatOvLMCV M3DPK/QoPCh7u1eqwlno2SoGhtWvkb4C9sSiq1h8Ou1z0xYdvBdP5uCweC450HNe co1lOw06HG1aOlk5GR5wO65ZpHECU+tbV6lkvFvCksTQvkC5flO05IM6OPI2OcUX 3/hoWs+mjyPU229ET9tWnhK5bbW9XsV1WjzxuZCojRz6PPjEPNxIxYWMwZmK8LoB YhOFkufkQR4SKyLhA7QGD4szvrF9o9Elh2wOMtiP2qQuNgnXorOsjXDzdMMaWXuc UL/aktmgoa0HQONajWJERWR28k8NmlFdXPuTN2wQCRstOdr3pa+xrdR7o3O5Fj1F zksxfNZLDBXsvnnAta69J/DOVf+hEsp8ITGQ8jH+uonPljSVUarOUEns2yClzCfX RL0Y/CHd1kLoSdTxqLsVm1BcQbIvPsgIMdfICbWsG/xZJAXdaL2IvSFDuZXXrXgw MR5USdxBb67gXe7zIvk/hrH8xF9rehEaqK98FDyn3Z5+Mrc0f2W3s7kdU+KILm6r U45jXD7Syuq3UMqInBUdpCXG+HZ72/HqJnbHa/siuvEDGhCNqpYaffz4KPTXLzD1 1Mhccevh3Qcx/VPBwlCSsqxh4OWf5Rzoficf/vg9dffbCeygp+KHeE5P1BCJ9+o2 smarfoxDny2bFawbHlpD =uYPI -----END PGP SIGNATURE----- --95n2dZZDVPvlnkUw--
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |