diff options
author | osa <osa@FreeBSD.org> | 2003-06-11 23:25:24 +0000 |
---|---|---|
committer | osa <osa@FreeBSD.org> | 2003-06-11 23:25:24 +0000 |
commit | 8557f0045e12db916d90b936d9630229da9857b7 (patch) | |
tree | 06441a9f9a03f326208ed01a9c6912e4fea015f5 /databases/postgresql90-server | |
parent | 24ce8be927c80514def6fc81270ebffb7f9ea210 (diff) | |
download | FreeBSD-ports-8557f0045e12db916d90b936d9630229da9857b7.zip FreeBSD-ports-8557f0045e12db916d90b936d9630229da9857b7.tar.gz |
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/postgresql90-server')
-rw-r--r-- | databases/postgresql90-server/files/pgsql.sh.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/databases/postgresql90-server/files/pgsql.sh.tmpl b/databases/postgresql90-server/files/pgsql.sh.tmpl index 98311c8..0d85d6fb 100644 --- a/databases/postgresql90-server/files/pgsql.sh.tmpl +++ b/databases/postgresql90-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}" } ;; |