]> git.openstreetmap.org Git - chef.git/blob - cookbooks/planet/files/default/replication-bin/streaming-replicator
Run streaming replicator using Brett's osmosis for now
[chef.git] / cookbooks / planet / files / default / replication-bin / streaming-replicator
1 #!/bin/sh
2
3 # DO NOT EDIT - This file is being maintained by Chef
4
5 export TZ=UTC
6
7 exec >> /var/log/replication/streaming-replicator 2>&1
8
9 exec /home/bretth/bin/osmosis -q \
10   --replicate-apidb iterations=0 minInterval=10000 maxInterval=60000 authFile=/etc/replication/auth.conf \
11   --send-replication-sequence port=8081 \
12   --write-replication workingDirectory=/var/lib/replication/streaming