Skip site navigation (1) Skip section navigation (2)

Re: [PORTS] NT service design choices

From: Jason Tishler <Jason(dot)Tishler(at)dothill(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Fred Yankowski <fred(at)ontosys(dot)com>, pgsql-cygwin(at)postgresql(dot)org, pgsql-ports(at)postgresql(dot)org
Subject: Re: [PORTS] NT service design choices
Date: 2001-05-21 20:27:07
Message-ID: 20010521162707.F125@dothill.com (view raw or flat)
Thread:
Lists: pgsql-cygwinpgsql-ports
Tom,

On Mon, May 21, 2001 at 01:28:57PM -0400, Tom Lane wrote:
> Fred Yankowski <fred(at)ontosys(dot)com> writes:
> > 	-  Need to implement features in cygrunsrv that are specific
> > 	   to only the PostgreSQL case so far.  (dependency on other
> > 	   services, specific signals to shutdown the application,
> > 	   logging all output to a file, clean shutdown in event of NT
> > 	   shutdown).
> 
> The last three would seem to be generally useful additions to cygrunsrv
> anyway.  I'm not sure what you mean by "dependency on other services".

Windows NT/2000 has the concept of a Service Control Manager (SCM) which
is responsible for managing (e.g., starting, stopping, etc.) NT services
which are the equivalent of UNIX daemons.  When a service is installed,
it can indicate to the SCM that it is dependent on one or more services.

The SCM will use this information to start/stop services in the right
order on system startup/shutdown or to automatically start a dependency
if it is not currently running.  For example, the Cygwin PostgreSQL
(i.e., postmaster) service is dependent on cygipc's ipc-daemon service.

Jason

-- 
Jason Tishler
Director, Software Engineering       Phone: 732.264.8770 x235
Dot Hill Systems Corp.               Fax:   732.264.8798
82 Bethany Road, Suite 7             Email: Jason(dot)Tishler(at)dothill(dot)com
Hazlet, NJ 07730 USA                 WWW:   http://www.dothill.com

In response to

Responses

pgsql-cygwin by date

Next:From: Tom LaneDate: 2001-05-21 20:50:06
Subject: Re: [PORTS] NT service design choices
Previous:From: Fred YankowskiDate: 2001-05-21 20:06:43
Subject: Re: [PORTS] NT service design choices

pgsql-ports by date

Next:From: Tom LaneDate: 2001-05-21 20:50:06
Subject: Re: [PORTS] NT service design choices
Previous:From: Fred YankowskiDate: 2001-05-21 20:06:43
Subject: Re: [PORTS] NT service design choices

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group