Re: Starting postmaster at boot - Mailing list pgsql-general

From Adam Lang
Subject Re: Starting postmaster at boot
Date
Msg-id 017701c01e82$5ad71240$330a0a0a@Adam
Whole thread Raw
In response to Re: Starting postmaster at boot  (David Veatch <dveatch@sunflower.com>)
Responses Re: Starting postmaster at boot
List pgsql-general
Does it work the same for linux?

Adam Lang
Systems Engineer
Rutgers Casualty Insurance Company
----- Original Message -----
From: "David Veatch" <dveatch@sunflower.com>
To: "Adam Lang" <aalang@rutgersinsurance.com>; "PGSQL General"
<pgsql-general@postgresql.org>
Sent: Thursday, September 14, 2000 3:29 PM
Subject: Re: [GENERAL] Starting postmaster at boot


> At 03:20 PM 9/14/00 -0400, Adam Lang wrote:
>  >I'm still having difficulties getting postgres to start on boot.
>  >
>  >Any chance someone can give me an example of how they have it on their
>  >system?
>  >
>  >
>  >(Seemed to have been lost in the list being down).
>  >
>  >Adam Lang
>  >Systems Engineer
>  >Rutgers Casualty Insurance Company
>
> Haven't done much looking into it for efficiency or anything like that,
but
> here's what I have in my rc.local file (FreeBSD 3.2).  Hope it helps!
>
>
> #!/bin/sh
> [ -x /usr/local/pgsql/bin/postmaster ] && {
>      su -l postgres -c 'exec /usr/local/pgsql/bin/postmaster -D
> /usr/local/pgsql/data -S -o -F -N 48 -B 96> /home/postgres/postgres.log' &
>      echo -n ' postgres'
> }
>
> David Veatch - dvicci@reckoning.org
>
> "Many people would sooner die than think.
> In fact, they do." - Bertrand Russell


pgsql-general by date:

Previous
From: David Veatch
Date:
Subject: Re: Starting postmaster at boot
Next
From: David Veatch
Date:
Subject: Re: Starting postmaster at boot