Skip to content
This repository has been archived by the owner on Aug 29, 2018. It is now read-only.

Commit

Permalink
Merge pull request #6059 from soltysh/bug1185031
Browse files Browse the repository at this point in the history
Merged by openshift-bot
  • Loading branch information
OpenShift Bot committed Jan 28, 2015
2 parents 779c223 + 296a44c commit 5d5cc95
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ function wait_for_postgres_availability {
function start {
if ! _is_running; then
echo "Starting Postgres cartridge"
oo-erb conf/postgresql.conf.erb.hidden > data/postgresql.conf
oo-erb ${OPENSHIFT_POSTGRESQL_DIR}/conf/postgresql.conf.erb.hidden > data/postgresql.conf

postgresql_context "nohup postgres |& /usr/bin/logshifter -tag postgresql &"
wait_for_postgres_availability || error "Could not start Postgres" 70
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,3 +79,9 @@ default_text_search_config = 'pg_catalog.english'
# Logging

log_line_prefix = '%t '

<% if ENV['OPENSHIFT_POSTGRESQL_CONFIG'] %>
<% ENV['OPENSHIFT_POSTGRESQL_CONFIG'].split(';').each do |elem| %>
<%= elem %>
<% end %>
<% end %>
Original file line number Diff line number Diff line change
Expand Up @@ -85,3 +85,9 @@ default_text_search_config = 'pg_catalog.english'
# Logging

log_line_prefix = '%t '

<% if ENV['OPENSHIFT_POSTGRESQL_CONFIG'] %>
<% ENV['OPENSHIFT_POSTGRESQL_CONFIG'].split(';').each do |elem| %>
<%= elem %>
<% end %>
<% end %>

0 comments on commit 5d5cc95

Please sign in to comment.