Use the new variable.
[myplc.git] / plc.d / postgresql
index 8105637..f4c2093 100755 (executable)
@@ -58,7 +58,7 @@ case "$1" in
            exit 0
        fi
 
-       MESSAGE=$"Starting database server"
+       MESSAGE=$"Starting PostgreSQL server"
        dialog "$MESSAGE"
 
        # Set data directory and redirect startup output to /var/log/pgsql
@@ -165,7 +165,7 @@ case "$1" in
        check
        if ! psql -U $PLC_DB_USER -c "" drupal >/dev/null 2>&1 ; then
            createdb -U postgres --encoding=UNICODE --owner=$PLC_DB_USER drupal
-           psql -U $PLC_DB_USER -f /var/www/html/database/database.pgsql drupal
+            psql -U $PLC_DB_USER -f /var/www/html/database/database.pgsql drupal 
        fi
        check
 
@@ -173,7 +173,7 @@ case "$1" in
        ;;
 
     stop)
-       MESSAGE=$"Stopping database server"
+       MESSAGE=$"Stopping PostgreSQL server"
        dialog "$MESSAGE"
 
        # Drop the current user in case the username changes