diff options
Diffstat (limited to 'database/postgresql/FINAL')
-rwxr-xr-x | database/postgresql/FINAL | 19 |
1 files changed, 12 insertions, 7 deletions
diff --git a/database/postgresql/FINAL b/database/postgresql/FINAL index bbbe5aab28..b9ced551e6 100755 --- a/database/postgresql/FINAL +++ b/database/postgresql/FINAL @@ -1,7 +1,12 @@ -if [ "$POSTGRES_BOOT" = "y" ] -then echo - echo "You need to run initdb and edit postgresql.conf manually." - echo "The PGDATA directory defaults to /var/lib/postgres." - echo "Logs are written to /var/log/postgres." - echo -fi +if is_depends_enabled $SPELL openssl; then + message "${MESSAGE_COLOR}" && + message "Please place server key and certificate files server.key and server.crt into" && + message "the database repository (/var/lib/postgres/data by default). See more about" && + message "it at http://www.postgresql.org/docs/8.3/static/ssl-tcp.html" && + message "${DEFAULT_COLOR}" +fi && + +message "${MESSAGE_COLOR}" && +message "See the PostgreSQL HOWTO at http://wiki.sourcemage.org/HOWTO-Postgresql if you" && +message "need help setting up PostgreSQL." && +message "${DEFAULT_COLOR}" |