Re: [GENERAL] Startup Script

From: Herouth Maoz <herouth(at)oumail(dot)openu(dot)ac(dot)il>
To: "Duncan Kinder" <dckinder(at)mountain(dot)net>, <pgsql-general(at)postgreSQL(dot)org>
Subject: Re: [GENERAL] Startup Script
Date: 1999-10-12 16:27:45
Message-ID: l0313030bb42911d5880e@[147.233.159.109]
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

At 20:13 +0200 on 12/10/1999, Duncan Kinder wrote:

> pg:2345:respawn:/bin/su - Postgres -c
> "/usr/local/pgsql/bin/postmaster -D/usr/local/pgsql/data >>
> /usr/local/pgsql/server.log 2>&1 </dev/null"
>
> I would like to know how to edit this language so that Postgres will
> automatically start with the -i flag.
>
> This would enable me to work with the very interesing looking kpsql add-on,
> which will not work unless I can set this -i flag.

Just add "-i" before the "-D" in the postmaster command.

pg:2345:respawn:/bin/su - Postgres -c
"/usr/local/pgsql/bin/postmaster -i -D/usr/local/pgsql/data >>
/usr/local/pgsql/server.log 2>&1 </dev/null"

Herouth

--
Herouth Maoz, Internet developer.
Open University of Israel - Telem project
http://telem.openu.ac.il/~herutma

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Dan Parker 1999-10-12 16:53:54 Re: [GENERAL] Startup Script
Previous Message Nikolay Mijaylov 1999-10-12 16:27:28 Indexes?!?!?