From f224edb38f7b3d3bb3f243d71c38e105202a7611 Mon Sep 17 00:00:00 2001 From: mickey Date: Mon, 23 Mar 1998 15:35:44 +0000 Subject: [PATCH] bins are in /usr/local/bin; logs in /var/log/ --- databases/postgresql/files/pgsql.sh.tmpl | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/databases/postgresql/files/pgsql.sh.tmpl b/databases/postgresql/files/pgsql.sh.tmpl index f2fcdb608f8..51ed811ae2d 100644 --- a/databases/postgresql/files/pgsql.sh.tmpl +++ b/databases/postgresql/files/pgsql.sh.tmpl @@ -1,6 +1,6 @@ #!/bin/sh -# $OpenBSD: pgsql.sh.tmpl,v 1.2 1998/03/23 15:34:08 mickey Exp $ +# $OpenBSD: pgsql.sh.tmpl,v 1.3 1998/03/23 15:35:44 mickey Exp $ # from Id: pgsql.sh.tmpl,v 1.3 1997/10/05 21:00:49 andreas Exp # pgsql.sh - postgresql startup file for FreeBSD and possibly *BSD (untested) @@ -17,8 +17,8 @@ # environment variable in !!PREFIX!!/pgsql/.profile # -[ -x !!PREFIX!!/pgsql/bin/postmaster ] && { - su -l pgsql -c 'exec !!PREFIX!!/pgsql/bin/postmaster \ - -S -o -F > !!PREFIX!!/pgsql/errlog' +[ -x !!PREFIX!!/bin/postmaster ] && { + su -l pgsql -c 'exec !!PREFIX!!/bin/postmaster \ + -S -o -F > /var/log/postgresql.log' echo -n ' pgsql' }