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: 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=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: Subject: cygrunsrv - services enters stopped state if underlying program exits or is killed - doesn't auto restart From: Cary Lewis To: cygwin AT cygwin DOT 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