aboutsummaryrefslogtreecommitdiff
path: root/databases/postgresql80-server
diff options
context:
space:
mode:
authorJimmy Olgeni <olgeni@FreeBSD.org>2001-05-02 11:44:38 +0000
committerJimmy Olgeni <olgeni@FreeBSD.org>2001-05-02 11:44:38 +0000
commit785d876b22bff3110d9733942b6fa9c49d6bb8b9 (patch)
tree5bb40c6cba74fcff629ec80fc6c79d09edf9e791 /databases/postgresql80-server
parent5f3686bcbcba094e2995e49ee1416fb7ab8b99f6 (diff)
downloadports-785d876b22bff3110d9733942b6fa9c49d6bb8b9.tar.gz
ports-785d876b22bff3110d9733942b6fa9c49d6bb8b9.zip
Cosmetic changes for the shutdown procedure.
* Pass the -s option to pg_ctl, to avoid clobbering the display. It will show error messages only. * Echo the port name after shutdown. No functional changes, no PORTREVISION.
Notes
Notes: svn path=/head/; revision=42166
Diffstat (limited to 'databases/postgresql80-server')
-rw-r--r--databases/postgresql80-server/files/pgsql.sh.tmpl3
1 files changed, 2 insertions, 1 deletions
diff --git a/databases/postgresql80-server/files/pgsql.sh.tmpl b/databases/postgresql80-server/files/pgsql.sh.tmpl
index 46aff1eb4718..cd78771219ed 100644
--- a/databases/postgresql80-server/files/pgsql.sh.tmpl
+++ b/databases/postgresql80-server/files/pgsql.sh.tmpl
@@ -18,7 +18,8 @@ start)
stop)
[ -x ${PGBIN}/pg_ctl ] && {
- exec su -l pgsql -c 'exec %%PREFIX%%/%%PG_PREFIX%%bin/pg_ctl stop -m fast'
+ su -l pgsql -c 'exec %%PREFIX%%/%%PG_PREFIX%%bin/pg_ctl stop -s -m fast'
+ echo -n ' pgsql'
}
;;