~bloodearnest/charms/trusty/postgresql/trunk

« back to all changes in this revision

Viewing changes to templates/recovery.conf.tmpl

  • Committer: Matthew Bruzek
  • Date: 2015-11-11 19:37:09 UTC
  • mfrom: (121.4.130 rewrite)
  • Revision ID: matthew.bruzek@canonical.com-20151111193709-fn9vb1jd865frl9t
[stub] A rewrite to make use of modern Juju and improve the reliability of the postgresql charm.

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
standby_mode = on
5
5
recovery_target_timeline = latest
6
6
{% if streaming_replication %}
7
 
primary_conninfo = 'host={{host}} port={{port}} user=juju_replication password={{password}} requirepeer=postgres'
 
7
primary_conninfo = 'host={{host}} port={{port}} user={{user}} password={{password}} requirepeer=postgres'
8
8
{% endif %}
9
9
{% if restore_command %}
10
10
restore_command = '{{restore_command}}'