The simplest way to invoke apcupsd is from the command line by entering:
/sbin/apcupsd
To do so, you must be root. However, normally, you will want apcupsd started automatically when your system boots. On some systems with installation support (e.g. S.u.S.E and RedHat), the installation procedure will create a script file that you will be automatically invoked when your system reboots. On other systems, you will have to invoke apcupsd from your rc.local script.
On RedHat systems, this script file that automatically invokes apcupsd on system start and stops is:
/etc/rc.d/init.d/apcupsd
To start apcupsd manually (as you will probably do immediately following the installation), enter the following:
/etc/rc.d/init.d/apcupsd start
To understand how this file is automatically invoked at system startup and shutdown, see the man pages for chkconfig.On SuSE systems, the script file that automatically invokes apcupsd on system start and stops is:
/etc/rc.d/apcupsd
To start apcupsd manually (as you will probably do immediately following the installation), enter the following:
/etc/rc.d/apcupsd start