]> git.openstreetmap.org Git - chef.git/blob - cookbooks/web/templates/default/rails.cron.erb
Restart logstash-forwarder when the rails logs rotate
[chef.git] / cookbooks / web / templates / default / rails.cron.erb
1 #!/bin/sh
2
3 # Cleanup temporary directory
4 find <%= @directory %>/tmp -mtime +28 -print0 | xargs -0r rm