]> git.openstreetmap.org Git - chef.git/blobdiff - roles/db-master.rb
Update cron job to use cerbot instead of letsencrypt
[chef.git] / roles / db-master.rb
index eaaca0a4957fc29c8f94472b8c4d0dd3d9817ef9..e29b7131c31a443a1b292564262890fdac5e8ecc 100644 (file)
@@ -8,7 +8,7 @@ default_attributes(
       :defaults => {
         :wal_level => "hot_standby",
         :archive_mode => "on",
-        :archive_command => "/bin/cp %p /store/postgresql/archive/%f",
+        :archive_command => "/usr/local/bin/openstreetmap-wal-e --terse wal-push %p",
         :max_wal_senders => "3",
         :late_authentication_rules => [
           { :database => "replication", :user => "replication", :address => "146.179.159.168/32" },