delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/01/26/11:16:38

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:date:message-id:subject:from:to
:content-type; q=dns; s=default; b=S8lG5zTe2t5UaFGJGtRe6wN5nAShU
LnAggZTswMrXrMhgMet+WZ6wHjlzAtEC4XvR53gAJn+kcLbkqTR2/EG2UV+/Cc+P
RtpHxL6k0R0ED+bvxR/E97PL4EL/eHjKbN4M/4QVWYQbcWfnZRHL2/R4zNfVOc8q
zFbMyKOtfKDq9U=
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:date:message-id:subject:from:to
:content-type; s=default; bh=mbg/Uz28gsqwEy1bY5vg9WTaqPo=; b=wNa
wrMIb91KBD4BqUWNCMKZqaoOSXyaCXCWGAlW2RtlWO7FXr8fjRllEHMpHRhhLdr5
/SbOTIK6o5K6fzJwGNhHRCXgD8AFZS/OK6NvC90HjzdLgkcBwyS6bOHs4HWGKwlH
wPbRJGgXhCWDkDapCAKygrclK+H+/fAmrVj3wQUk=
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=0.4 required=5.0 tests=AWL,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2
X-HELO: mail-qa0-f49.google.com
MIME-Version: 1.0
X-Received: by 10.224.114.209 with SMTP id f17mr23739983qaq.68.1422288847552; Mon, 26 Jan 2015 08:14:07 -0800 (PST)
Date: Mon, 26 Jan 2015 11:14:07 -0500
Message-ID: <CAEF1h+Wghm86TybnaLMz9TdX5NUV15aNBAC1KZ1dKhUOVZ-_Qg@mail.gmail.com>
Subject: cygrunsrv - services enters stopped state if underlying program exits or is killed - doesn't auto restart
From: Cary Lewis <cary DOT lewis AT gmail DOT com>
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes

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?

Thank you.

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019