j-mcnally / ansible-rails

A collection of playbooks for getting your rails stack up and running fast!
187 stars 16 forks source link

fix size argument for logrotate: m -> M #4

Closed mwkling closed 8 years ago

mwkling commented 8 years ago

Hi, we noticed our logs were not getting rotated as expected, and traced it back to this error in our cron mail:

error: /etc/logrotate.d/appnginx:4 unknown unit 'm'

The man page for logrotate gives k, M, and G as valid size suffixes, so I believe this is just a typo. If I'm getting this wrong let me know, but I believe this will fix the problem.