Changeset 494

Show
Ignore:
Timestamp:
06/10/08 00:05:13 (6 months ago)
Author:
mbailey
Message:

added task to force logrotate. you'll need to use this the first time you setup logrotate

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/lib/deprec/recipes/logrotate.rb

    r484 r494  
    4141      # 
    4242      # logrotate is run via cron with a script in /etc/cron.daily/logrotate  
     43       
     44      desc "Force logrotate to run" 
     45      task :force do 
     46        sudo "logrotate -f /etc/logrotate.conf" 
     47      end 
    4348 
    4449    end