new '--shutdown' option for cygrunsrv

Fred Yankowski
Thu Jun 28 14:54:00 GMT 2001

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 (, in

See the end of
< > 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       tel: +1.630.879.1312
Principal Consultant       fax: +1.630.879.1370
OntoSys, Inc             38W242 Deerpath Rd, Batavia, IL 60510, USA

More information about the Cygwin-apps mailing list