RE: Starting postgresql on startup

From: "Trewern, Ben" <Ben(dot)Trewern(at)mowlem(dot)com>
To: antken <antken(at)reddish(dot)stockport(dot)sch(dot)uk>
Cc: pgsql-general(at)postgresql(dot)org
Subject: RE: Starting postgresql on startup
Date: 2001-03-30 08:12:10
Message-ID: 996802F75C3CD411B424001083FA445B05955E@CET_PONXX_FP001
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)mighty(dot)co(dot)za]
> Sent: 30 March 2001 05:05
> To: antken
> Cc: pgsql-general(at)postgresql(dot)org
> Subject: Re: [GENERAL] Starting postgresql on startup
>
>
> On Tue, 27 Mar 2001 16:05:55 +0100
> "antken" <antken(at)reddish(dot)stockport(dot)sch(dot)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
>

Browse pgsql-general by date

  From Date Subject
Next Message Alexey Borzov 2001-03-30 08:57:20 Re[2]: Pgsql-7.1RC1: SET SEED = <something>
Previous Message Thomas Lockhart 2001-03-30 06:22:21 Re: [PATCHES] Error in the date field (with NULL value...).Thanks!