aboutsummaryrefslogtreecommitdiffstats
path: root/databases/postgresql73-server
diff options
context:
space:
mode:
authorosa <osa@FreeBSD.org>2003-06-12 07:25:24 +0800
committerosa <osa@FreeBSD.org>2003-06-12 07:25:24 +0800
commit8557f0045e12db916d90b936d9630229da9857b7 (patch)
tree06441a9f9a03f326208ed01a9c6912e4fea015f5 /databases/postgresql73-server
parent24ce8be927c80514def6fc81270ebffb7f9ea210 (diff)
downloadfreebsd-ports-gnome-8557f0045e12db916d90b936d9630229da9857b7.tar.gz
freebsd-ports-gnome-8557f0045e12db916d90b936d9630229da9857b7.tar.zst
freebsd-ports-gnome-8557f0045e12db916d90b936d9630229da9857b7.zip
The control script that ships with the postgres
port (files/pgsql.sh.tmpl) lacks a parameter in the restart option, causing logs to be send to stdout, instead of the log file. Submitted by: Fernando Schapachnik <fernando@mecon.gov.ar> Approved by: maintainer PR: 53142 Approved by: fjoe (implicit)
Diffstat (limited to 'databases/postgresql73-server')
-rw-r--r--databases/postgresql73-server/files/pgsql.sh.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/databases/postgresql73-server/files/pgsql.sh.tmpl b/databases/postgresql73-server/files/pgsql.sh.tmpl
index 98311c868ac3..0d85d6fba25d 100644
--- a/databases/postgresql73-server/files/pgsql.sh.tmpl
+++ b/databases/postgresql73-server/files/pgsql.sh.tmpl
@@ -32,7 +32,7 @@ stop)
restart)
[ -x ${PGBIN}/pg_ctl ] && {
- exec su -l pgsql -c "exec ${PREFIX}/bin/pg_ctl restart -s -m fast"
+ exec su -l pgsql -c "exec ${PREFIX}/bin/pg_ctl restart -s -m fast -l ${logfile}"
}
;;