]> git.openstreetmap.org Git - chef.git/commit
Add a short delay when rotating passenger logs
authorTom Hughes <tom@compton.nu>
Fri, 28 Jan 2022 09:19:19 +0000 (09:19 +0000)
committerTom Hughes <tom@compton.nu>
Fri, 28 Jan 2022 09:19:19 +0000 (09:19 +0000)
commite6fdd138d096ff2361c357247096e4946246df55
tree1a0eac88de096a9d37645c1238cd4b59576bcee3
parent150ffa368ab75f56cff71c762e2d81b2ee25665f
Add a short delay when rotating passenger logs

If the machine is idle then we may try and rotate the passenger
logs very quickly after the apache logs, in which case apache can
still be reloading which breaks the passenger log rotation.
cookbooks/web/templates/default/logrotate.web.erb