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 |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-cygwin pgsql-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
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2001-05-21 20:50:06 | Re: [PORTS] NT service design choices |
Previous Message | Fred Yankowski | 2001-05-21 20:06:43 | Re: [PORTS] NT service design choices |
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2001-05-21 20:50:06 | Re: [PORTS] NT service design choices |
Previous Message | Fred Yankowski | 2001-05-21 20:06:43 | Re: [PORTS] NT service design choices |