Silent start of Postgres in XP

From: "Andrus" <eetasoft(at)online(dot)ee>
To: pgsql-general(at)postgresql(dot)org
Subject: Silent start of Postgres in XP
Date: 2005-11-23 18:18:47
Message-ID: dm2brl$ejn$1@news.hub.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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.

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Richard Huxton 2005-11-23 18:34:10 Re: Silent start of Postgres in XP
Previous Message Adam Witney 2005-11-23 17:32:38 "invalid page header in block 597621 of relation..." error