debian/freeipmi-bmc-watchdog.bmc-watchdog.logrotate
raw| 1 | ## |
| 2 | # $Id: bmc-watchdog.logrotate,v 1.3 2009-10-01 18:09:57 chu11 Exp $ |
| 3 | ## |
| 4 | |
| 5 | /var/log/freeipmi/bmc-watchdog.log { |
| 6 | rotate 21 |
| 7 | daily |
| 8 | compress |
| 9 | missingok |
| 10 | nocreate |
| 11 | nomail |
| 12 | notifempty |
| 13 | postrotate |
| 14 | /bin/systemctl restart bmc-watchdog.service > /dev/null 2>&1 || true |
| 15 | endscript |
| 16 | } |