summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--databases/postgresql-server/Makefile4
-rw-r--r--databases/postgresql-server/files/pgsql.sh4
2 files changed, 5 insertions, 3 deletions
diff --git a/databases/postgresql-server/Makefile b/databases/postgresql-server/Makefile
index 86bc638cbcd..573856da884 100644
--- a/databases/postgresql-server/Makefile
+++ b/databases/postgresql-server/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.35 2003/11/12 03:39:39 jschauma Exp $
+# $NetBSD: Makefile,v 1.36 2003/11/14 01:46:39 explorer Exp $
PKGNAME= postgresql-server-${BASE_VERS}
SVR4_PKGNAME= pstgs
-PKGREVISION= 2
+PKGREVISION= 3
COMMENT= PostgreSQL database server programs
DEPENDS+= postgresql-client>=${BASE_VERS}:../../databases/postgresql-client
diff --git a/databases/postgresql-server/files/pgsql.sh b/databases/postgresql-server/files/pgsql.sh
index a8732e1836e..a8d8c9dcdca 100644
--- a/databases/postgresql-server/files/pgsql.sh
+++ b/databases/postgresql-server/files/pgsql.sh
@@ -1,6 +1,6 @@
#!@RCD_SCRIPTS_SHELL@
#
-# $NetBSD: pgsql.sh,v 1.20 2003/10/11 07:05:19 grant Exp $
+# $NetBSD: pgsql.sh,v 1.21 2003/11/14 01:46:39 explorer Exp $
#
# PostgreSQL database rc.d control script
#
@@ -52,6 +52,8 @@ start_cmd="pgsql_doit start"
restart_cmd="pgsql_doit restart"
stop_cmd="pgsql_doit stop"
+ulimit -n 4096
+
pgsql_precmd()
{
if [ ! -d ${pgsql_home}/data/base ]; then