Skip to content
Snippets Groups Projects
Commit 7ca63a7e authored by Nick Nguyen's avatar Nick Nguyen Committed by Ian Baum
Browse files

Fix missing gitlab-geo.conf when initiating replication

parent 751662f3
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