aboutsummaryrefslogtreecommitdiffstats
path: root/databases
diff options
context:
space:
mode:
authorolgeni <olgeni@FreeBSD.org>2001-05-02 19:44:38 +0800
committerolgeni <olgeni@FreeBSD.org>2001-05-02 19:44:38 +0800
commit338e5b4ec31c3b101a6861433594f711b997473c (patch)
treeb0eb645a17b11f1bd7abdb2b75a4a49e644025e6 /databases
parent6929b5e0698d13dd1ebe67758e12adc7547c3485 (diff)
downloadfreebsd-ports-gnome-338e5b4ec31c3b101a6861433594f711b997473c.tar.gz
freebsd-ports-gnome-338e5b4ec31c3b101a6861433594f711b997473c.tar.zst
freebsd-ports-gnome-338e5b4ec31c3b101a6861433594f711b997473c.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.
Diffstat (limited to 'databases')
-rw-r--r--databases/postgresql-devel-server/files/pgsql.sh.tmpl3
-rw-r--r--databases/postgresql-devel/files/pgsql.sh.tmpl3
-rw-r--r--databases/postgresql7/files/pgsql.sh.tmpl3
-rw-r--r--databases/postgresql73-server/files/pgsql.sh.tmpl3
-rw-r--r--databases/postgresql73/files/pgsql.sh.tmpl3
-rw-r--r--databases/postgresql74-server/files/pgsql.sh.tmpl3
-rw-r--r--databases/postgresql80-server/files/pgsql.sh.tmpl3
-rw-r--r--databases/postgresql81-server/files/pgsql.sh.tmpl3
-rw-r--r--databases/postgresql82-server/files/pgsql.sh.tmpl3
-rw-r--r--databases/postgresql83-server/files/pgsql.sh.tmpl3
-rw-r--r--databases/postgresql84-server/files/pgsql.sh.tmpl3
-rw-r--r--databases/postgresql90-server/files/pgsql.sh.tmpl3
-rw-r--r--databases/postgresql91-server/files/pgsql.sh.tmpl3
-rw-r--r--databases/postgresql92-server/files/pgsql.sh.tmpl3
14 files changed, 28 insertions, 14 deletions
diff --git a/databases/postgresql-devel-server/files/pgsql.sh.tmpl b/databases/postgresql-devel-server/files/pgsql.sh.tmpl
index 46aff1eb4718..cd78771219ed 100644
--- a/databases/postgresql-devel-server/files/pgsql.sh.tmpl
+++ b/databases/postgresql-devel-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'
}
;;
diff --git a/databases/postgresql-devel/files/pgsql.sh.tmpl b/databases/postgresql-devel/files/pgsql.sh.tmpl
index 46aff1eb4718..cd78771219ed 100644
--- a/databases/postgresql-devel/files/pgsql.sh.tmpl
+++ b/databases/postgresql-devel/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'
}
;;
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'
}
;;
diff --git a/databases/postgresql73-server/files/pgsql.sh.tmpl b/databases/postgresql73-server/files/pgsql.sh.tmpl
index 46aff1eb4718..cd78771219ed 100644
--- a/databases/postgresql73-server/files/pgsql.sh.tmpl
+++ b/databases/postgresql73-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'
}
;;
diff --git a/databases/postgresql73/files/pgsql.sh.tmpl b/databases/postgresql73/files/pgsql.sh.tmpl
index 46aff1eb4718..cd78771219ed 100644
--- a/databases/postgresql73/files/pgsql.sh.tmpl
+++ b/databases/postgresql73/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'
}
;;
diff --git a/databases/postgresql74-server/files/pgsql.sh.tmpl b/databases/postgresql74-server/files/pgsql.sh.tmpl
index 46aff1eb4718..cd78771219ed 100644
--- a/databases/postgresql74-server/files/pgsql.sh.tmpl
+++ b/databases/postgresql74-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'
}
;;
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'
}
;;
diff --git a/databases/postgresql81-server/files/pgsql.sh.tmpl b/databases/postgresql81-server/files/pgsql.sh.tmpl
index 46aff1eb4718..cd78771219ed 100644
--- a/databases/postgresql81-server/files/pgsql.sh.tmpl
+++ b/databases/postgresql81-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'
}
;;
diff --git a/databases/postgresql82-server/files/pgsql.sh.tmpl b/databases/postgresql82-server/files/pgsql.sh.tmpl
index 46aff1eb4718..cd78771219ed 100644
--- a/databases/postgresql82-server/files/pgsql.sh.tmpl
+++ b/databases/postgresql82-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'
}
;;
diff --git a/databases/postgresql83-server/files/pgsql.sh.tmpl b/databases/postgresql83-server/files/pgsql.sh.tmpl
index 46aff1eb4718..cd78771219ed 100644
--- a/databases/postgresql83-server/files/pgsql.sh.tmpl
+++ b/databases/postgresql83-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'
}
;;
diff --git a/databases/postgresql84-server/files/pgsql.sh.tmpl b/databases/postgresql84-server/files/pgsql.sh.tmpl
index 46aff1eb4718..cd78771219ed 100644
--- a/databases/postgresql84-server/files/pgsql.sh.tmpl
+++ b/databases/postgresql84-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'
}
;;
diff --git a/databases/postgresql90-server/files/pgsql.sh.tmpl b/databases/postgresql90-server/files/pgsql.sh.tmpl
index 46aff1eb4718..cd78771219ed 100644
--- a/databases/postgresql90-server/files/pgsql.sh.tmpl
+++ b/databases/postgresql90-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'
}
;;
diff --git a/databases/postgresql91-server/files/pgsql.sh.tmpl b/databases/postgresql91-server/files/pgsql.sh.tmpl
index 46aff1eb4718..cd78771219ed 100644
--- a/databases/postgresql91-server/files/pgsql.sh.tmpl
+++ b/databases/postgresql91-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'
}
;;
diff --git a/databases/postgresql92-server/files/pgsql.sh.tmpl b/databases/postgresql92-server/files/pgsql.sh.tmpl
index 46aff1eb4718..cd78771219ed 100644
--- a/databases/postgresql92-server/files/pgsql.sh.tmpl
+++ b/databases/postgresql92-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'
}
;;