Welcome to the IPFire Wiki

This wiki is a community-maintained resource about everything there is to know about IPFire. Join us and help us improving it!

Looking for something?

Use the search and find answers to everything about IPFire. If you cannot find what you are looking for, join our community and talk to fellow IPFire users, developers and everybody else involved in the project.

IPFire Community


APC UPS Daemon (apcupsd) is a tool which monitors power supply equipment manufactured by APC.

You may wish to investigate the Network UPS tools (NUT) Addon instead of this one. NUT has more features and is capable of supporting UPSes from multiple manufacturers and for multiple client computers connected to one UPS. It is also more maintained than acpupsd.


To install apcupsd open the IPFire Console and type:
pakfire install -y apcupsd

… or install it via the webinterface by the use of Pakfire!

Find more information about apcupsd here

Edit the configuration file

The configuration file will be found under:


Its already created by the installer and is documented in detail.

Its important to configure the correct UPS and connection type here.

If NETServer is enabled (NETServer on) you may also check the status from other Windows or Linux machines.

Create the initscript

To create the initscript for apcupsd use an editor (like nano) and add the following:

filename = apcupsd

# Begin $rc_base/init.d/apcupsd

# Based on sysklogd script from LFS-3.1 and earlier.

. /etc/sysconfig/rc
. $rc_functions

case "$1" in
`boot_mesg "Starting apcupsd daemon..."`
`loadproc apcupsd`
`boot_mesg "Stopping apcupsd daemon..."`
`killproc apcupsd`
`statusproc /sbin/apcupsd`
`echo "Usage: $0 (start|stop|status)"`
`exit 1`

# End $rc_base/init.d/apcupsd

Then change the file permission with:

chmod 755 /etc/init.d/apcupsd

start the apcups daemon with:

/etc/init.d/apcupsd start

To stop the daemon, type

/etc/init.d/apcupsd stop

on the IPFire Console or via SSH!

Establish the autostart of apcupsd

Enable the autostart

ln -s ../init.d/apcupsd /etc/rc.d/rc3.d/S65apcupsd<br>
ln -s ../init.d/apcupsd /etc/rc.d/rc0.d/K35apcupsd<br>
ln -s ../init.d/apcupsd /etc/rc.d/rc6.d/K35apcupsd<br>

Disable the autostart

rm /etc/rc.d/rc3.d/S65apcupsd<br>
rm /etc/rc.d/rc0.d/K35apcupsd<br>
rm /etc/rc.d/rc6.d/K35apcupsd<br>
Edit Page ‐ Yes, you can edit!

Older Revisions • August 23 at 1:30 am • Jon