From owner-freebsd-ports Wed Aug 6 06:11:20 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id GAA23270 for ports-outgoing; Wed, 6 Aug 1997 06:11:20 -0700 (PDT) Received: from fallout.campusview.indiana.edu (fallout.campusview.indiana.edu [149.159.1.1]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id GAA23263 for ; Wed, 6 Aug 1997 06:11:15 -0700 (PDT) Received: from localhost (jfieber@localhost) by fallout.campusview.indiana.edu (8.8.5/8.8.5) with SMTP id IAA11117; Wed, 6 Aug 1997 08:10:57 -0500 (EST) Date: Wed, 6 Aug 1997 08:10:56 -0500 (EST) From: John Fieber To: bovynf@awe.be cc: freebsd-ports@hub.freebsd.org Subject: Re: ports/4232: Boot-time start of postgressql postmaster doen't work In-Reply-To: <199708060735.AAA06107@hub.freebsd.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-ports@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Wed, 6 Aug 1997 bovynf@awe.be wrote: > >Number: 4232 > >Synopsis: Boot-time start of postgressql postmaster doen't work I also discovered that the startup script does not correctly handle arguments to the postmaster. Specifically, when I added a -D option to put the data files in a non-stardard location, the option was ignored. I've replaced the startup with this: [ -d /usr/local/pgsql/lib ] && /sbin/ldconfig -m /usr/local/pgsql/lib if [ -x /usr/local/pgsql/bin/postmaster ]; then echo -n ' pgsql' echo '/usr/local/pgsql/bin/postmaster -S \ -D/home/pgsql/data -o -F' | su pgsql fi which is working fine. I'm running 2.2.2 Release. -john