X-Git-Url: https://git.openstreetmap.org/chef.git/blobdiff_plain/7863b82579f43587bc318eadf3fed5a0f263751d..fed6b55c69d8343424ecdfef287875f10b3f6b17:/cookbooks/planet/files/default/replication-bin/streaming-replicator?ds=sidebyside diff --git a/cookbooks/planet/files/default/replication-bin/streaming-replicator b/cookbooks/planet/files/default/replication-bin/streaming-replicator new file mode 100644 index 000000000..6af3f3831 --- /dev/null +++ b/cookbooks/planet/files/default/replication-bin/streaming-replicator @@ -0,0 +1,12 @@ +#!/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 \ + --send-replication-sequence port=8081 \ + --write-replication workingDirectory=/var/lib/replication/streaming