]> git.openstreetmap.org Git - chef.git/commitdiff
Remove last remnants of streaming replication
authorTom Hughes <tom@compton.nu>
Thu, 18 Nov 2021 19:03:08 +0000 (19:03 +0000)
committerTom Hughes <tom@compton.nu>
Thu, 18 Nov 2021 19:03:08 +0000 (19:03 +0000)
cookbooks/planet/files/default/replication-bin/streaming-replicator [deleted file]
cookbooks/planet/files/default/replication-bin/streaming-server [deleted file]
cookbooks/planet/templates/default/apache.erb

diff --git a/cookbooks/planet/files/default/replication-bin/streaming-replicator b/cookbooks/planet/files/default/replication-bin/streaming-replicator
deleted file mode 100644 (file)
index 7b78ae4..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-#!/bin/sh
-
-# DO NOT EDIT - This file is being maintained by Chef
-
-export TZ=UTC
-
-exec >> /var/log/replication/streaming-replicator 2>&1
-
-exec /usr/local/bin/osmosis -q \
-  --replicate-apidb iterations=0 minInterval=10000 maxInterval=60000 authFile=/etc/replication/auth.conf validateSchemaVersion=false \
-  --send-replication-sequence port=8081 \
-  --write-replication workingDirectory=/var/lib/replication/streaming
diff --git a/cookbooks/planet/files/default/replication-bin/streaming-server b/cookbooks/planet/files/default/replication-bin/streaming-server
deleted file mode 100644 (file)
index 11394ae..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-#!/bin/sh
-
-# DO NOT EDIT - This file is being maintained by Chef
-
-export TZ=UTC
-
-exec >> /var/log/replication/streaming-server 2>&1
-
-exec /usr/local/bin/osmosis -q \
-  --send-replication-data dataDirectory=/var/lib/replication/streaming port=8080 notificationPort=8081
index f8bf0dc7eb0533499295bb79ca081e45d0c56a8f..8ea1698e9596adf6b0b871feb54cc8d1685134c7 100644 (file)
                 Require all granted
         </Directory>
 
-        ProxyPass /replication/streaming http://127.0.0.1:8080
-
-        <Location /replication/steaming>
-                Require all granted
-        </Location>
-
         Redirect /pbf-experimental/    /pbf/
 
         <IfModule mod_headers.c>