diff options
Diffstat (limited to 'modules/role/templates/backup')
-rw-r--r-- | modules/role/templates/backup/postgresql.conf.erb | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/modules/role/templates/backup/postgresql.conf.erb b/modules/role/templates/backup/postgresql.conf.erb index 860089b..c4d223e 100644 --- a/modules/role/templates/backup/postgresql.conf.erb +++ b/modules/role/templates/backup/postgresql.conf.erb | |||
@@ -1,5 +1,10 @@ | |||
1 | <%- if !@pg_listen_port.nil? -%> | ||
2 | listen_addresses= '*' | ||
3 | port = <%= @pg_listen_port %> | ||
4 | ssl = on | ||
5 | <%- else -%> | ||
1 | listen_addresses= '' | 6 | listen_addresses= '' |
7 | <%- end %> | ||
2 | unix_socket_directories = '<%= @pg_path %>' | 8 | unix_socket_directories = '<%= @pg_path %>' |
3 | data_directory = '<%= @pg_path %>' | 9 | data_directory = '<%= @pg_path %>' |
4 | wal_level = logical | 10 | wal_level = logical |
5 | |||