$OpenBSD: README-cgi,v 1.2 2014/02/04 18:34:14 kirby Exp $

+-----------------------------------------------------------------------
| Running apcupsd-cgi-3.14.11 on OpenBSD
+-----------------------------------------------------------------------

Before using multimon and the other CGI programs, first ensure that
apcupsd is configured to run the Network Information Server. This is
done by setting NETSERVER on in /etc/apcupsd/apcupsd.conf.
This switch is on by default.

To run scripts in chrooted apache (default behaviour), configuration
files must be available to the webserver:
# mv /etc/apcupsd /var/www//etc/apcupsd
# ln -s /var/www//etc/apcupsd /etc/

And some libraries must be copied in:
# /var/www/cgi-bin/apcupsd/copy-libs.sh
