[ -f sequence-prev.txt ] && mv sequence-prev.txt sequence.txt
}
-# Send output to the log
-exec > /var/log/tile/replicate.log 2>&1
-
# Change to the replication state directory
cd /var/lib/replicate
cp sequence.txt sequence-prev.txt
# Fetch the next set of changes
- pyosmium-get-changes --sequence-file=sequence.txt --outfile=${file}
+ pyosmium-get-changes --server=<%= node[:tile][:replication][:url] %> --sequence-file=sequence.txt --outfile=${file}
# Save exit status
status=$?