]> git.openstreetmap.org Git - chef.git/blob - cookbooks/planet/templates/default/planetdump-trigger.erb
Add IPv6 addresses to dulcy
[chef.git] / cookbooks / planet / templates / default / planetdump-trigger.erb
1 #!/bin/sh
2
3 inotifywait --quiet --monitor --event CREATE --event MOVED_TO --include "/osm-[0-9]{4}-[0-9]{2}-[0-9]{2}\\.dmp\$" --format %f /store/backup | \
4   xargs -I %file% systemctl start planetdump@%file%.service