X-Recipient: archive-cygwin@delorie.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@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.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.lewis@gmail.com>
To: cygwin@cygwin.com
Content-Type: text/plain; charset=UTF-8
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

