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

Apply suggestions

parent dbbccdee
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -145,7 +145,9 @@ module Geo
def write_recovery_conf(settings)
recovery_conf = "#{data_path}/postgresql/data/recovery.conf"
 
File.write(recovery_conf, settings, mode: "a")
File.open(recovery_file, 'a', 0640) do |file|
file.write(settings)
end
end
 
def reconfigure
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