Fix the streaming replicator
authorTom Hughes <tom@compton.nu>
Mon, 11 May 2015 20:24:26 +0000 (21:24 +0100)
committerTom Hughes <tom@compton.nu>
Mon, 11 May 2015 20:24:26 +0000 (21:24 +0100)
cookbooks/planet/files/default/replication-bin/streaming-replicator

index 0837b67aa21e3effb9fa404d4fb41a381ff40cc6..7b78ae41a69f2aa41fa1bda810325a1678b9e467 100644 (file)
@@ -6,7 +6,7 @@ export TZ=UTC
 
 exec >> /var/log/replication/streaming-replicator 2>&1
 
-exec /home/bretth/bin/osmosis -q \
-  --replicate-apidb iterations=0 minInterval=10000 maxInterval=60000 authFile=/etc/replication/auth.conf \
+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