exit 0
fi
- MESSAGE=$"Starting database server"
+ MESSAGE=$"Starting PostgreSQL server"
dialog "$MESSAGE"
# Set data directory and redirect startup output to /var/log/pgsql
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
;;
stop)
- MESSAGE=$"Stopping database server"
+ MESSAGE=$"Stopping PostgreSQL server"
dialog "$MESSAGE"
# Drop the current user in case the username changes