Skip to content
This repository has been archived by the owner on Jul 11, 2020. It is now read-only.

Commit

Permalink
Reduce the amount of logs we keep around to 30 days
Browse files Browse the repository at this point in the history
Andre Medeiros committed Jun 18, 2015
1 parent 57d3fc7 commit 92f1509
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cookbooks/rubygems-balancer/recipes/logrotate.rb
Original file line number Diff line number Diff line change
@@ -6,7 +6,7 @@
logrotate_app 'nginx' do
path "#{node['nginx']['log_dir']}/*.log"
frequency 'daily'
rotate 52
rotate 30
options %w(missingok compress delaycompress notifempty sharedscripts)
postrotate " [ -f #{node['nginx']['pid']} ] && kill -USR1 `cat #{node['nginx']['pid']}`"
create '0640 www-data adm'

0 comments on commit 92f1509

Please sign in to comment.