Skip to content
Snippets Groups Projects
Commit 497dbe12 authored by Ian Baum's avatar Ian Baum
Browse files

Merge branch 'nhxnguyen-5454' into 'master'

Fix missing gitlab-geo.conf when initiating replication

See merge request gitlab-org/omnibus-gitlab!4556
parents d55d8053 7ca63a7e
No related branches found
No related tags found
No related merge requests found
---
title: Fix missing gitlab-geo.conf when initiating replication
merge_request: 4556
author:
type: fixed
Loading
Loading
@@ -167,7 +167,7 @@ module Geo
 
def write_recovery_settings!
geo_conf_file = "#{data_path}/postgresql/data/gitlab-geo.conf"
File.open(geo_conf_file, 0640) do |file|
File.open(geo_conf_file, "w", 0640) do |file|
settings = <<~EOF
# - Added by GitLab Omnibus for Geo replication -
recovery_target_timeline = '#{@options[:recovery_target_timeline]}'
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment