]> git.openstreetmap.org Git - chef.git/blob - cookbooks/tile/templates/default/replicate-post.erb
Merge remote-tracking branch 'github/pull/713'
[chef.git] / cookbooks / tile / templates / default / replicate-post.erb
1 #!/bin/sh -e
2
3 # DO NOT EDIT - This file is being maintained by Chef
4
5 sequence="$1"
6 timestamp="$2"
7
8 mv /var/lib/replicate/dirty-tiles.txt /var/lib/replicate/expire-queue/changes-${sequence}.txt
9
10 echo "$sequence" > /var/lib/replicate/sequence.txt
11 echo "$timestamp" > /var/lib/replicate/timestamp.txt