Author: tmckay
Date: 2011-01-07 13:54:34 +0000 (Fri, 07 Jan 2011)
New Revision: 4454
Modified:
trunk/cumin/bin/cumin-database
Log:
Modified comment around database initialize
Modified: trunk/cumin/bin/cumin-database
===================================================================
--- trunk/cumin/bin/cumin-database 2011-01-06 23:00:14 UTC (rev 4453)
+++ trunk/cumin/bin/cumin-database 2011-01-07 13:54:34 UTC (rev 4454)
@@ -174,9 +174,10 @@
# On older versions of Postgres (before 8.4), initdb does not exist but
# using the start option will initialize the database, then start it.
- # Try initdb first, and if it fails try start followed by stop. This
- # should leave the database and the service in the same state on all
- # 8.x versions of Postgres.
+ # Try initdb first, and if it fails try start. The "start" method
+ # will leave the service running, which is different than initdb,
+ # but that is fine at this point because it is restarted after
+ # the call to configure anyway.
echo -e "\nAttempting to use initdb option..."
run "/sbin/service postgresql initdb" || {
echo -e "\ninitdb option not supported, using start..."
Show replies by date