To start apcupsd manually (as you will probably do immediately following
the installation), enter the following:
/etc/rc.d/apcupsd start
Normally, when properly installed, apcupsd will be started and stopped au-
tomatically by your system. Unfortunately, the details are different for each
system. Below, we give the commands for selected systems. Alternatively,
there are simple stopapcupsd and startapcupsd scripts in the examples di-
rectory, or you can modify one of the scripts in the distributions directory
to meet your needs.
To stop apcupsd you can do the following:
On Red Hat systems:
/etc/rc.d/init.d/apcupsd stop
On SUSE systems:
/etc/rc.d/apcupsd stop
Please see the Testing Apcupsd (see Testing Apcupsd) chapter for more
details on insuring that apcupsd is running properly.
Configuration Examples
A Simple USB Configuration
If you have a USB UPS, and you have apcupsd version 3.10.7 or higher, the
essential elements of your apcupsd.conf file should look like the following:
## apcupsd.conf v1.1 ##
UPSCABLE usb
UPSTYPE usb
DEVICE
LOCKFILE /var/lock
UPSCLASS standalone
UPSMODE disable
52