RE: Starting postgresql on startup - Mailing list pgsql-general

From Trewern, Ben
Subject RE: Starting postgresql on startup
Date
Msg-id 996802F75C3CD411B424001083FA445B05955E@CET_PONXX_FP001
Whole thread Raw
In response to Starting postgresql on startup  ("antken" <antken@reddish.stockport.sch.uk>)
List pgsql-general

'linuxconf' on Mandrake 7.1 should be able to set postgres to run at boot time as long as you set Postgresql up from an rpm.  If you got to 'Control Panel' -> 'Control service activity' -> 'postgresql'.  Set Startup to automatic and select the run levels you want Postgresql to run in, usually 3 & 5.

If you compiled Postgresql from source then I think there is a script in /contrib (There is in 7.1 Beta :-) ) which sets-up an rc script. This should then make postgresql available in linuxconf.

Regards

Ben

P.S. This works in Mandrake 7.0 & 7.2 so hopefully 7.1

> -----Original Message-----
> From: Zak McGregor [mailto:zak@mighty.co.za]
> Sent: 30 March 2001 05:05
> To: antken
> Cc: pgsql-general@postgresql.org
> Subject: Re: [GENERAL] Starting postgresql on startup
>
>
> On Tue, 27 Mar 2001 16:05:55 +0100
> "antken" <antken@reddish.stockport.sch.uk> wrote:
>
> > how would i go about making postgresql start when linux boots?
> > i dont understand what the install document is going on about either
> > i am running linux mandrake 7.1 and postgres 7.0.3
>
> The easiest way is to run ntsysv as root... if that doesn't
> work, you'll
> need to look at your rc scripts.
>
> Cheers
>
> Zak
>
> ---------------------------(end of
> broadcast)---------------------------
> TIP 4: Don't 'kill -9' the postmaster
>

pgsql-general by date:

Previous
From: "datactrl"
Date:
Subject: PostGreSQL 7.1
Next
From: Alexey Borzov
Date:
Subject: Re[2]: Pgsql-7.1RC1: SET SEED =