summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcjs <cjs@pkgsrc.org>2005-05-16 01:02:20 +0000
committercjs <cjs@pkgsrc.org>2005-05-16 01:02:20 +0000
commit578edcd385551fbafb4827036ad4654689210ee5 (patch)
tree041f9b79d6463c2f8c808e38ce8a0cb8b033996c
parentfdd75261a6942a781b0a317d157e180fc8a79b0c (diff)
downloadpkgsrc-578edcd385551fbafb4827036ad4654689210ee5.tar.gz
Move "-m fast" argument from stop_command_args to common_args so that
restart picks it up, too.
-rw-r--r--databases/postgresql80-server/files/pgsql.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/databases/postgresql80-server/files/pgsql.sh b/databases/postgresql80-server/files/pgsql.sh
index 481fc1e9d14..837d8c89a6e 100644
--- a/databases/postgresql80-server/files/pgsql.sh
+++ b/databases/postgresql80-server/files/pgsql.sh
@@ -1,6 +1,6 @@
#!@RCD_SCRIPTS_SHELL@
#
-# $NetBSD: pgsql.sh,v 1.1.1.1 2005/02/06 12:32:06 jdolecek Exp $
+# $NetBSD: pgsql.sh,v 1.2 2005/05/16 01:02:20 cjs Exp $
#
# PostgreSQL database rc.d control script
#
@@ -42,9 +42,9 @@ elif [ -f /etc/rc.conf ]; then
fi
pidfile="${pgsql_home}/data/postmaster.pid"
-common_args="-D ${pgsql_home}/data"
+common_args="-D ${pgsql_home}/data -m fast"
start_command_args="-w -s -l ${pgsql_home}/errlog"
-stop_command_args="-s -m fast"
+stop_command_args="-s"
initdb_cmd="pgsql_initdb"
start_precmd="pgsql_precmd"