]> git.openstreetmap.org Git - chef.git/blob - cookbooks/tilecache/templates/default/logrotate.nginx.erb
tilecache: switch port 80 traffic to nginx
[chef.git] / cookbooks / tilecache / templates / default / logrotate.nginx.erb
1 # DO NOT EDIT - This file is being maintained by Chef
2
3 /var/log/nginx/*.log {
4   daily
5   missingok
6   rotate 7
7   compress
8   delaycompress
9   notifempty
10   create 640 nginx adm
11   sharedscripts
12   postrotate
13     [ -f /var/run/nginx.pid ] && kill -USR1 `cat /var/run/nginx.pid`
14   endscript
15 }