]> git.openstreetmap.org Git - chef.git/blob - cookbooks/planet/files/default/replication-bin/streaming-replicator
Bring streaming replication under chef control
[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 /usr/local/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