diff options
author | osa <osa@FreeBSD.org> | 2003-06-12 07:25:24 +0800 |
---|---|---|
committer | osa <osa@FreeBSD.org> | 2003-06-12 07:25:24 +0800 |
commit | 8557f0045e12db916d90b936d9630229da9857b7 (patch) | |
tree | 06441a9f9a03f326208ed01a9c6912e4fea015f5 /databases/postgresql7 | |
parent | 24ce8be927c80514def6fc81270ebffb7f9ea210 (diff) | |
download | freebsd-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/postgresql7')
-rw-r--r-- | databases/postgresql7/files/pgsql.sh.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/databases/postgresql7/files/pgsql.sh.tmpl b/databases/postgresql7/files/pgsql.sh.tmpl index 98311c868ac3..0d85d6fba25d 100644 --- a/databases/postgresql7/files/pgsql.sh.tmpl +++ b/databases/postgresql7/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}" } ;; |