Sha256: e00543986932efe602317480a075fa4800a5f2c7c0b87cfb638d599646d336a9
Contents?: true
Size: 683 Bytes
Versions: 3
Compression:
Stored size: 683 Bytes
Contents
namespace :merb do namespace :logrotate do desc <<-DESC Install logrotated conf for merb. <dl> <dt>merb_logrotate_path</dt> <dd>Merb logrotate path</dd> <dd class="default">Defaults to @\#{shared_path}/log/merb.*.log@</dd> </dl> "Source":#{link_to_source(__FILE__)} DESC task :install do fetch_or_default(:merb_logrotate_path, "#{shared_path}/log/merb.*.log") set :logrotate_name, "merb_#{application}" set :logrotate_log_path, merb_logrotate_path set :logrotate_options, [ { :rotate => 7 }, :daily, :missingok, :notifempty, :copytruncate ] logrotated.install_conf end end end
Version data entries
3 entries across 3 versions & 2 rubygems
Version | Path |
---|---|
calas-capitate-0.3.6 | lib/recipes/logrotate/merb.rb |
capitate-0.3.5 | lib/recipes/logrotate/merb.rb |
capitate-0.3.6 | lib/recipes/logrotate/merb.rb |