Re: Starting postmaster at boot

From: David Veatch <dveatch(at)sunflower(dot)com>
To: "Adam Lang" <aalang(at)rutgersinsurance(dot)com>, "PGSQL General" <pgsql-general(at)postgresql(dot)org>
Subject: Re: Starting postmaster at boot
Date: 2000-09-14 19:29:07
Message-ID: 4.3.2.7.2.20000914142831.00b84450@mail.sunflower.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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(at)reckoning(dot)org

"Many people would sooner die than think.
In fact, they do." - Bertrand Russell

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Adam Lang 2000-09-14 19:31:18 Re: Starting postmaster at boot
Previous Message Adam Lang 2000-09-14 19:20:45 Starting postmaster at boot