- バックアップ一覧
- 現在との差分 を表示
- ソース を表示
- バックアップ を表示
- UNIX/システム/logrotate へ行く。
- 1 (2013-11-28 (木) 07:50:44)
- 2 (2013-11-28 (木) 08:22:16)
- 追加された行はこの色です。
- 削除された行はこの色です。
* logrotate [#aaf8fdc6] ** ログが存在しなくてもロテートする [#a60b41e9] size 0 を指定する。 /var/log/mail/maillog { daily rotate 30 size 0 create 0640 root wheel postrotate /bin/kill -HUP `cat /var/run/syslogd.pid 2> /dev/null` 2> /dev/null || true endscript } ** 参考 [#j53a3ead] - man http://www.linuxcommand.org/man_pages/logrotate8.html - RedHat https://access.redhat.com/site/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Deployment_Guide/s1-logfiles-locating.html