X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/57995a029cd7185564cfb3a24bf55354a0cf46fe..6276756309a93c08c5b33decc5914d8fc674560d:/cookbooks/tile/templates/default/cleanup-tiles.erb diff --git a/cookbooks/tile/templates/default/cleanup-tiles.erb b/cookbooks/tile/templates/default/cleanup-tiles.erb index 5a954e295..eebcd41a4 100644 --- a/cookbooks/tile/templates/default/cleanup-tiles.erb +++ b/cookbooks/tile/templates/default/cleanup-tiles.erb @@ -11,7 +11,7 @@ use LockFile::Simple; my $tiledir = shift @ARGV; -my $lockmgr = LockFile::Simple->make(-autoclean => 1, -max => 0, -warn => 0); +my $lockmgr = LockFile::Simple->make(-autoclean => 1, -max => 1, -hold => 0, -warn => 0); $lockmgr->lock("${tiledir}/cleanup") || exit 0;