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:mime-version:in-reply-to:references:date | |
:message-id:subject:from:to:content-type; q=dns; s=default; b=SY | |
/eoMxCOipgGuZUhuo5n+FOf67ZqTH1aTqkDUYLZZo4ZWEopq68YF3fl6lMPCZSNN | |
7BcOnL4YTNLuNT2OsjKGGUw6y+MgbYg4O8eI27hTiUirSXl9xBzo2smbZtdZmj0/ | |
BFmqYxPl1+5QUaYxt17CjJEqqPk0inlqEFk7idB5s= | |
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:mime-version:in-reply-to:references:date | |
:message-id:subject:from:to:content-type; s=default; bh=0XnnKVwc | |
APw7996bDhO43BCYeHQ=; b=uESofvvYEiEslDSfRMvyHVKaVSxkw4HMvg6roBM9 | |
clk/n/OnM69Yruxuqo52+vJu0gfBbDLt/q7y8cfxJMm65PxMfqXaV1gloEl/QJ4x | |
Z1oHjM6idy965Y7pxouzgzZfqdyvTIrlZfMyl239dWeb606kPjZgWrCnkWapX2lV | |
goU= | |
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.6 required=5.0 tests=AWL,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 |
X-HELO: | mail-qg0-f43.google.com |
MIME-Version: | 1.0 |
X-Received: | by 10.140.81.208 with SMTP id f74mr1108791qgd.94.1422358562148; Tue, 27 Jan 2015 03:36:02 -0800 (PST) |
In-Reply-To: | <20150127090910.GF14265@calimero.vinschen.de> |
References: | <CAEF1h+Wghm86TybnaLMz9TdX5NUV15aNBAC1KZ1dKhUOVZ-_Qg AT mail DOT gmail DOT com> <20150127090910 DOT GF14265 AT calimero DOT vinschen DOT de> |
Date: | Tue, 27 Jan 2015 12:36:02 +0100 |
Message-ID: | <CAO2ddnaGA_LpkHvOFZ6mN2mFC81BbxCduB=tQFY+=UasDuAS6w@mail.gmail.com> |
Subject: | Re: cygrunsrv - services enters stopped state if underlying program exits or is killed - doesn't auto restart |
From: | =?UTF-8?Q?Kizito_Porta_Balany=C3=A0?= <kfeina AT gmail DOT com> |
To: | cygwin AT cygwin DOT com |
2015-01-27 10:09 GMT+01:00 Corinna Vinschen <corinna-cygwin AT cygwin DOT com>: > On Jan 26 11:14, Cary Lewis wrote: >> I am using cygrunsrv to install a windows service that creates an ssh tunnel. > >> I have configured the service to auto-restart on failures using the >> windows 7 services.msc tool. >> >> If the ssh program exists, or is killed, cygrunsrv gracefully exits, >> and the windows auto-restart logic is not invoked. >> Is there a way to get the auto-restart logic to work? I'm doing it with monit compiled in cygwin (works most of the features). I have create some wrappers scripts that does the job. Tell me if you need something. Regards. > > 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 > > -- > Corinna Vinschen Please, send mails regarding Cygwin to > Cygwin Maintainer cygwin AT cygwin DOT com > Red Hat -- 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 |