[rhmessaging-commits] rhmessaging commits: r3788 - mgmt/trunk/mint/bin.
rhmessaging-commits at lists.jboss.org
rhmessaging-commits at lists.jboss.org
Mon Jan 11 17:17:57 EST 2010
Author: justi9
Date: 2010-01-11 17:17:57 -0500 (Mon, 11 Jan 2010)
New Revision: 3788
Modified:
mgmt/trunk/mint/bin/mint-database
Log:
Clean up messages
Modified: mgmt/trunk/mint/bin/mint-database
===================================================================
--- mgmt/trunk/mint/bin/mint-database 2010-01-11 22:00:14 UTC (rev 3787)
+++ mgmt/trunk/mint/bin/mint-database 2010-01-11 22:17:57 UTC (rev 3788)
@@ -128,11 +128,11 @@
# Does it have a schema loaded?
run "psql -d cumin -U cumin -h localhost -c '\q'" postgres || {
- echo "The database is not accessible"
+ echo "The database is not accessible."
exit 1
}
- echo "The database is ready"
+ echo "The database is ready."
;;
configure)
check-environment
@@ -145,8 +145,8 @@
i_stopped_postgres=""
if run "/sbin/service postgresql status"; then
- echo "The database server is running. To proceed with configuration, I need to stop it"
- echo "(I'll start it again after I'm done)."
+ echo "The database server is running. To proceed with configuration,"
+ echo "I need to stop it (I'll start it again after I'm done)."
if confirmed; then
run "/sbin/service postgresql stop"
@@ -155,7 +155,8 @@
fi
test -d "$pgdata" || {
- echo "The database server is not initialized. To proceed, I need to initialize it."
+ echo "The database server is not initialized. To proceed, I need to"
+ echo "initialize it."
if confirmed; then
initdb
@@ -168,7 +169,8 @@
run "/sbin/service postgresql start"
fi
- echo "The database server is configured. You can now run 'mint-database create'."
+ echo "The database server is configured. Make sure postgresql is running"
+ echo "and run 'mint-database create'."
# chkconfig stuff ?
;;
@@ -188,7 +190,7 @@
run "dropdb ${dbname}" postgres
run "dropuser ${dbname}" postgres
- echo "The database is destroyed"
+ echo "The database is destroyed."
;;
*)
echo "Configure and check the mint database"
More information about the rhmessaging-commits
mailing list