[Fusionforge-commits] r11872 - branches/Branch_5_1/src

Roland Mas lolando at libremir.placard.fr.eu.org
Tue Dec 21 18:46:47 CET 2010


Author: lolando
Date: 2010-12-21 18:46:47 +0100 (Tue, 21 Dec 2010)
New Revision: 11872

Modified:
   branches/Branch_5_1/src/fusionforge-install-3-db.php
Log:
Give PostgreSQL a few seconds to start

Modified: branches/Branch_5_1/src/fusionforge-install-3-db.php
===================================================================
--- branches/Branch_5_1/src/fusionforge-install-3-db.php	2010-12-21 17:22:48 UTC (rev 11871)
+++ branches/Branch_5_1/src/fusionforge-install-3-db.php	2010-12-21 17:46:47 UTC (rev 11872)
@@ -184,6 +184,9 @@
 
 	show(" * Creating '$gforge_user' User...");
 	run("/usr/sbin/useradd -g $gforge_user $gforge_user", true);
+	
+	// Let's give some time for PostgreSQL to start
+	sleep(5);
 
 	show(" * Creating Database User '$gforge_user'...");
 	run("su - postgres -c \"createuser -A -R -d -E $gforge_user\"", true);




More information about the Fusionforge-commits mailing list