Package:APC UPS Daemon

Revision as of 03:46, February 5, 2014 by Duncan.Britton (Talk)

Installation

First, emerge sys-power/acpupsd (package not on wiki - please add):

# emerge apcupsd
# equery f apcupsd

Configuration and Runlevel Registration

Edit your /etc/apcupsd/apcupsd.conf properly.

To start apcupsd, run the following:

# /etc/init.d/apcupsd start

To add apcupsd to the appropriate runlevels, execute the following commands:

# rc-update add apcupsd default
# rc-update add apcupsd.powerfail shutdown

Check UPS status

Finally, to check on the status of acpupsd, run the following:

# apcaccess status
# tail -f /var/log/apcupsd.events