ログローテート設定
デフォルトだとなんだか嫌なのでちょっとだけ変更。
# cp -p /etc/logrotate.conf /etc/logrotate.conf.`date +%Y%m%d`
# diff /etc/logrotate.conf /etc/logrotate.conf.`date +%Y%m%d`
# vi /etc/logrotate.conf
変更点は以下のとおり。
# diff /etc/logrotate.conf /etc/logrotate.conf.`date +%Y%m%d`
3c3< daily
- -
> weekly
6c6< rotate 30
- -
> rotate 4
21c21< rotate 6
- -
> rotate 1