aboutsummaryrefslogtreecommitdiff
path: root/contrib/start-scripts/freebsd
diff options
context:
space:
mode:
authorPeter Eisentraut <peter_e@gmx.net>2017-01-13 12:00:00 -0500
committerPeter Eisentraut <peter_e@gmx.net>2017-01-13 21:25:36 -0500
commite574f15d6295b12c03ef8810c00976b65933711a (patch)
tree1cc705093b799a1bf3af211e8d96437609cb7f7d /contrib/start-scripts/freebsd
parent5ad966ab1c50e829462f2b3e3ffa59e2d95479e6 (diff)
downloadpostgresql-e574f15d6295b12c03ef8810c00976b65933711a.tar.gz
postgresql-e574f15d6295b12c03ef8810c00976b65933711a.zip
Updates to reflect that pg_ctl stop -m fast is the default
Various example and test code used -m fast explicitly, but since it's the default, this can be omitted now or should be replaced by a better example. pg_upgrade is not touched, so it can continue to operate with older installations.
Diffstat (limited to 'contrib/start-scripts/freebsd')
-rw-r--r--contrib/start-scripts/freebsd4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/start-scripts/freebsd b/contrib/start-scripts/freebsd
index 758574b427f..87d9b9b357a 100644
--- a/contrib/start-scripts/freebsd
+++ b/contrib/start-scripts/freebsd
@@ -48,10 +48,10 @@ case $1 in
echo -n ' postgresql'
;;
stop)
- su -l $PGUSER -c "$PGCTL stop -D '$PGDATA' -s -m fast"
+ su -l $PGUSER -c "$PGCTL stop -D '$PGDATA' -s"
;;
restart)
- su -l $PGUSER -c "$PGCTL stop -D '$PGDATA' -s -m fast -w"
+ su -l $PGUSER -c "$PGCTL stop -D '$PGDATA' -s -w"
su -l $PGUSER -c "$DAEMON -D '$PGDATA' &" >>$PGLOG 2>&1
;;
status)