Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm 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 Message-ID: Date: Wed, 31 Aug 2005 11:43:51 +0530 From: Pradip Jadav To: cygwin AT cygwin DOT com Subject: cygrunsrv.exe -- start the service automatically on failure?? Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id j7V6E5Dg011486 Hello all, As with cygrunsrv.exe we can install-start-stop a service, is it possible to restart the service automatically on failure?? We can see from properties of a service, a Recovery tab is available where there are options like First failure, second failures, subsequent failures to take an action on service fail. I have set for my service(manually) as, First failure -- Restart the Service second failures -- Restart the Service subsequent failures -- Restart the Service So now my question is, "is it possible to set these options automatically when we installs the service with cygrunsrv.exe so that we need not to set it manually as I have done??"" thanx -- Pradip K. Jadav -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/