~stub/charms/precise/postgresql/bug-1302494-fix-persistent-storage

« back to all changes in this revision

Viewing changes to templates/recovery.conf.tmpl

  • Committer: Stuart Bishop
  • Date: 2014-01-22 07:23:51 UTC
  • mfrom: (46.8.34 use-swiftwal)
  • Revision ID: stuart@stuartbishop.net-20140122072351-g1ca14ouylgpkgur
Experimental SwiftWAL PITR support, per https://code.launchpad.net/~stub/charms/precise/postgresql/use-swiftwal/+merge/199942

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
# This file is managed by Juju
3
3
#------------------------------------------------------------------------------
4
4
standby_mode = on
 
5
recovery_target_timeline = latest
 
6
{% if streaming_replication %}
5
7
primary_conninfo = 'host={{host}} user=juju_replication password={{password}} requirepeer=postgres'
 
8
{% endif %}
 
9
{% if restore_command %}
 
10
restore_command = '{{restore_command}}'
 
11
{% endif %}