From d6b6d443889e9a8ab8920e85ecfca5979d47e9c9 Mon Sep 17 00:00:00 2001 From: Palle Girgensohn Date: Sun, 25 Dec 2005 20:06:23 +0000 Subject: Handle a change in rc.subr. nowadays, "faststart" is used instead of "start" when booting, since there's no need waste time checking for running processes when the OS is starting up. Bumping portrevision. PR: 90884 Submitted by: Victor Snezhko --- databases/postgresql81-server/files/pgsql.sh.tmpl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'databases/postgresql81-server/files') diff --git a/databases/postgresql81-server/files/pgsql.sh.tmpl b/databases/postgresql81-server/files/pgsql.sh.tmpl index 8d975d54303c..2f7554620e89 100644 --- a/databases/postgresql81-server/files/pgsql.sh.tmpl +++ b/databases/postgresql81-server/files/pgsql.sh.tmpl @@ -35,7 +35,7 @@ postgresql_class=${postgresql_class:-"default"} name=postgresql rcvar=`set_rcvar` command=${prefix}/bin/pg_ctl -command_args="-D ${postgresql_data} ${postgresql_flags} $1" +command_args="-D ${postgresql_data} ${postgresql_flags}" extra_commands="reload initdb" start_cmd="postgresql_command start" @@ -48,7 +48,7 @@ initdb_cmd="postgresql_initdb" postgresql_command() { - su -l ${postgresql_user} -c "exec ${command} ${command_args}" + su -l ${postgresql_user} -c "exec ${command} ${command_args} ${rc_arg}" } postgresql_initdb() -- cgit v1.2.3