[vhffs-dev] [svn] commit: r194 - in /trunk: vhffs-api/src/Vhffs/Functions.pm vhffs-backend/conf/vhffs.conf vhffs-backend/tools/vhffs-initdb

[ Thread Index | Date Index | More vhffs.org/vhffs-dev Archives ]


Author: soda
Date: Wed May  3 20:49:28 2006
New Revision: 194

Log:
fix default port for postgres (5432)

Modified:
    trunk/vhffs-api/src/Vhffs/Functions.pm
    trunk/vhffs-backend/conf/vhffs.conf
    trunk/vhffs-backend/tools/vhffs-initdb

Modified: trunk/vhffs-api/src/Vhffs/Functions.pm
==============================================================================
--- trunk/vhffs-api/src/Vhffs/Functions.pm (original)
+++ trunk/vhffs-api/src/Vhffs/Functions.pm Wed May  3 20:49:28 2006
@@ -214,7 +214,7 @@
 
     if( $backend_config->{'driver'} =~  /pg/ )
     {
-		$port 	= 5433;
+		$port 	= 5432;
     	$driver = "Pg";
 		$host 	= "localhost";
 		$port 	= $backend_config->{'db_port'} if( defined( $backend_config->{'db_port'} ) );

Modified: trunk/vhffs-backend/conf/vhffs.conf
==============================================================================
--- trunk/vhffs-backend/conf/vhffs.conf (original)
+++ trunk/vhffs-backend/conf/vhffs.conf Wed May  3 20:49:28 2006
@@ -45,16 +45,16 @@
 	#can specify use_web = no
 	<modules>
 		use_web			=	yes
-		use_cvs			=	yes
-		use_svn			=	yes
 		use_mysql		=	yes
-		use_postgres	=	yes
-		use_dns			=	yes
-		use_mailling	=	yes
-		use_mailing		=	yes
-		use_mail		=	yes
+		use_mail		=	no
+		use_cvs			=	no
+		use_svn			=	no
+		use_postgres	=	no
+		use_dns			=	no
+		use_mailling	=	no
+		use_mailing		=	no
 		use_mailuser	=	no
-		use_largefile	= 	yes
+		use_largefile	= 	no
 	</modules>
 
 	####################
@@ -119,7 +119,7 @@
 		#DataBase Server
 		db_host=localhost
 		#Database port
-		db_port = 5433
+		db_port = 5432
 	</dbread>
 
 	<dbwrite>
@@ -133,7 +133,7 @@
 		#DataBase Server
 		db_host=localhost
 		#Database port
-		db_port = 5433
+		db_port = 5432
 	</dbwrite>
 
 </databases>

Modified: trunk/vhffs-backend/tools/vhffs-initdb
==============================================================================
--- trunk/vhffs-backend/tools/vhffs-initdb (original)
+++ trunk/vhffs-backend/tools/vhffs-initdb Wed May  3 20:49:28 2006
@@ -72,6 +72,8 @@
 	echo "SUPERUSER is the name of the unix-user who runs the PostgreSQL server"
 	echo "DBUSER is the future name of the PostgreSQL user, will be created by this script"
 	echo "DBPASS is the password for the PostgreSQL user"
+	echo ""
+	echo "This script works better with postgresql >= 8.1"
 	exit 1
 fi
 




Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/