pgsql.sh

From: Jonah Kuo <jonahk(at)mail(dot)lbfe(dot)org(dot)tw>
To: pgsql-admin <pgsql-admin(at)postgresql(dot)org>
Subject: pgsql.sh
Date: 1998-11-23 08:24:35
Message-ID: 36591BC3.2022C79A@mail.lbfe.org.tw
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Hello,

First of all, I apologize if this has been discussed before.

I have this startup script 'pgsql.sh' on my FreeBSD-3.0 system,
everything goes fine except I can't have error messages send to
the file I specified in this script

#!/bin/sh
[ -x /tmp/.s.PGSQL.* ] && rm -f /tmp/.s.PGSQL.*
[ -x /usr/local/pgsql/bin/postmaster ] && {
su -l postgres -c 'exec
/usr/local/pgsql/bin/postmaster
-D/usr/local/pgsql/data
-S -o -F > /usr/local/pgsql/errlog' &
echo -n ' pgSQL'
}

There was an /usr/local/pgsql/errlog opened, and the error messages are
always
send to console regardless of specifying '-S' option or not.

Is there anybody encountered this before? any help would be grateful.

Jonah

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message E Rajendran 1998-11-23 13:37:16
Previous Message Peter T Mount 1998-11-21 12:26:39 Re: [INTERFACES] looking for postgresql.jar for 6.3