projects
/
chef.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
96f9afd
)
Send planet logs to ironbelly
author
Tom Hughes
<tom@compton.nu>
Sun, 28 Jul 2013 07:49:01 +0000
(08:49 +0100)
committer
Tom Hughes
<tom@compton.nu>
Sun, 28 Jul 2013 07:49:39 +0000
(08:49 +0100)
cookbooks/planet/templates/default/logrotate.apache.erb
patch
|
blob
|
history
diff --git
a/cookbooks/planet/templates/default/logrotate.apache.erb
b/cookbooks/planet/templates/default/logrotate.apache.erb
index e7d9e3c23b650e6bd7acb8e7717500ed04c40eaf..c25e4853fd7f43f8f6cef5891c5adc79ba415784 100644
(file)
--- a/
cookbooks/planet/templates/default/logrotate.apache.erb
+++ b/
cookbooks/planet/templates/default/logrotate.apache.erb
@@
-11,7
+11,7
@@
sharedscripts
postrotate
/etc/init.d/apache2 reload > /dev/null
sharedscripts
postrotate
/etc/init.d/apache2 reload > /dev/null
- rsync /var/log/apache2/planet.openstreetmap.org-access.log.2.gz
horntail
::logs/planet.openstreetmap.org/`date -d "-7 days" +%Y-%m-%d`.gz
+ rsync /var/log/apache2/planet.openstreetmap.org-access.log.2.gz
ironbelly
::logs/planet.openstreetmap.org/`date -d "-7 days" +%Y-%m-%d`.gz
endscript
prerotate
if [ -d /etc/logrotate.d/httpd-prerotate ]; then \
endscript
prerotate
if [ -d /etc/logrotate.d/httpd-prerotate ]; then \