]> git.openstreetmap.org Git - chef.git/blob - cookbooks/planet/templates/default/planetdump-trigger.erb
build(deps): bump kitchen-dokken from 2.20.3 to 2.20.4
[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