I had been playing with apcups and NUT to get my UPS reporting and I needed to use NUT. So I have disabled APCUPSD in the config as not needed.
I am guessing that as there are log files these are being rotated weekly because one exists which restarts apcupsd and creates a new log so will continue like this until I reboot and logs purged from /var/log
/var/log/apcupsd.events {
rotate 4
weekly
notifempty
missingok
postrotate
/etc/rc.d/rc.apcupsd restart 1>/dev/null || true
endscript
}
But the restart is not checking the current status of the config. This may just be because I have log files. I have deleted them and will see if it re-occurs next week.
Recommended Comments
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.