aboutsummaryrefslogtreecommitdiff
path: root/databases/postgresql82-server
diff options
context:
space:
mode:
Diffstat (limited to 'databases/postgresql82-server')
-rw-r--r--databases/postgresql82-server/Makefile2
-rw-r--r--databases/postgresql82-server/files/pgsql.sh.tmpl4
2 files changed, 3 insertions, 3 deletions
diff --git a/databases/postgresql82-server/Makefile b/databases/postgresql82-server/Makefile
index 52f6100d8db2..6a99def196cf 100644
--- a/databases/postgresql82-server/Makefile
+++ b/databases/postgresql82-server/Makefile
@@ -8,7 +8,7 @@
PORTNAME?= postgresql
PKGNAMESUFFIX?= -server
PORTVERSION?= 8.1.1
-PORTREVISION?= 0
+PORTREVISION?= 1
CATEGORIES?= databases
MASTER_SITES= ${MASTER_SITE_PGSQL}
MASTER_SITE_SUBDIR= source/v${PORTVERSION}
diff --git a/databases/postgresql82-server/files/pgsql.sh.tmpl b/databases/postgresql82-server/files/pgsql.sh.tmpl
index 8d975d54303c..2f7554620e89 100644
--- a/databases/postgresql82-server/files/pgsql.sh.tmpl
+++ b/databases/postgresql82-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()