diff --git a/cookbooks/postgresql/templates/var/lib/pgsql/9.6/data/recovery_1st_stage.sh.erb b/cookbooks/postgresql/templates/var/lib/pgsql/9.6/data/recovery_1st_stage.sh.erb index ff266bc..21a7bed 100644 --- a/cookbooks/postgresql/templates/var/lib/pgsql/9.6/data/recovery_1st_stage.sh.erb +++ b/cookbooks/postgresql/templates/var/lib/pgsql/9.6/data/recovery_1st_stage.sh.erb @@ -33,6 +33,6 @@ cat > recovery.conf << EOT standby_mode = 'on' primary_conninfo = 'host="$hostname" port=$port user=<%= @recovery_1st_stage_sh[:replication_user] %>' <%# ひとまずいらない気がするのでコメントアウト %> -<%# restore_command = 'scp $hostname:$archivedir/%f %p' %> +restore_command = 'scp $hostname:$archivedir/%f %p' EOT "