openbsd-ports/sysutils/apcupsd/pkg/MESSAGE-cgi
2011-11-28 10:46:19 +00:00

11 lines
512 B
Plaintext

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 ${SYSCONFDIR}/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 ${SYSCONFDIR} /var/www/${SYSCONFDIR}
# ln -s /var/www/${SYSCONFDIR} ${BASESYSCONFDIR}/
And some libraries must be copied in:
# ${WEB_ROOT}/cgi-bin/apcupsd/copy-libs.sh