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 |
Date: | 2001-06-28 20:58:37 |
Message-ID: | 20010628155837.A90733@enteract.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-cygwin |
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
From | Date | Subject | |
---|---|---|---|
Next Message | Jason Tishler | 2001-06-29 02:24:06 | Re: initdb failure - postgres hangs with 100% CPU |
Previous Message | Michael Williams | 2001-06-28 19:18:20 | initdb failure - postgres hangs with 100% CPU |