ftp.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-apps/2001/06/28/18:12:46

Mailing-List: contact cygwin-apps-help AT sourceware DOT cygnus DOT com; run by ezmlm
Sender: cygwin-apps-owner AT sourceware DOT cygnus DOT com
List-Subscribe: <mailto:cygwin-apps-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin-apps/>
List-Post: <mailto:cygwin-apps AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-apps-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/lists.html#faqs>
Delivered-To: mailing list cygwin-apps AT sources DOT redhat DOT com
X-Authentication-Warning: shell-3.enteract.com: fcy set sender to fred AT ontosys DOT com using -f
Date: Thu, 28 Jun 2001 15:58:37 -0500
From: Fred Yankowski <fred AT ontosys DOT com>
To: cygwin-apps AT cygwin DOT com
Cc: pgsql-cygwin AT postgresql DOT org
Subject: new '--shutdown' option for cygrunsrv
Message-ID: <20010628155837.A90733@enteract.com>
Mime-Version: 1.0
User-Agent: Mutt/1.2.5i

The latest CVS version of cygrunsrv now has a '--shutdown' option,
enabling a feature where cygrunsrv notices the start of system
shutdown and sends the termination signal to the managed application
process at that time, giving the application a chance to shutdown
itself cleanly.

This feature is useful with applications such as the PostgreSQL
postmaster, which won't start up correctly if it was previously
terminated without a chance to clean up some files (postmaster.pid, in
particular).

See the end of
<http://sources.redhat.com/ml/cygwin-apps/2001-05/msg00075.html> for
instructions on getting cygrunsrv from CVS.

Note that PostgreSQL also needs a patch to ignore SIGHUP for shutdown
on Cygwin to work properly.

-- 
Fred Yankowski           fred AT OntoSys DOT com      tel: +1.630.879.1312
Principal Consultant     www.OntoSys.com       fax: +1.630.879.1370
OntoSys, Inc             38W242 Deerpath Rd, Batavia, IL 60510, USA

- Raw text -


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