From 338e5b4ec31c3b101a6861433594f711b997473c Mon Sep 17 00:00:00 2001 From: olgeni Date: Wed, 2 May 2001 11:44:38 +0000 Subject: 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. --- databases/postgresql7/files/pgsql.sh.tmpl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'databases/postgresql7/files') diff --git a/databases/postgresql7/files/pgsql.sh.tmpl b/databases/postgresql7/files/pgsql.sh.tmpl index 46aff1eb4718..cd78771219ed 100644 --- a/databases/postgresql7/files/pgsql.sh.tmpl +++ b/databases/postgresql7/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' } ;; -- cgit