Silent start of Postgres in XP - Mailing list pgsql-general

From Andrus
Subject Silent start of Postgres in XP
Date
Msg-id dm2brl$ejn$1@news.hub.org
Whole thread Raw
Responses Re: Silent start of Postgres in XP  (Richard Huxton <dev@archonet.com>)
List pgsql-general
I need to start Postgres 8.1 database in XP without any user intervention
even when Postgres is not installed.

I have implemented this for Apache2 by running the following commands:

Apache.exe  -k stop
Apache.exe  -k uninstall
Apache.exe  -k install
Apache.exe  -k start
@rem if user has no privileges to install service, start Apache as
application:
Apache.exe

This causes Apache to run under SYSTEM account .

Trying to use same approach with Postgres fails. Postgres requires special
user account and is not capable to create this account without user
intervention.

How to force Postgres to install itself as service running under SYSTEM or
under LOCAL SERVICE  account?

Andrus.



pgsql-general by date:

Previous
From: "codeWarrior"
Date:
Subject: Re: Strugging with NEW and OLD records.
Next
From: Richard Huxton
Date:
Subject: Re: Silent start of Postgres in XP