Skip to content
Snippets Groups Projects
Commit 7a34d0da authored by Valery Sizov's avatar Valery Sizov
Browse files

Apply 1 suggestion(s) to 1 file(s)

parent e3f99908
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -128,7 +128,9 @@ module Geo
def write_geo_config_file(settings)
geo_conf_file = "#{data_path}/postgresql/data/gitlab-geo.conf"
 
File.write(geo_conf_file, settings)
File.open(geo_conf_file, "w", 0640) do |file|
file.write(geo_conf_file, settings)
end
end
 
def write_recovery_conf(settings)
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