2018-09-04 12:46:09 +00:00

19 lines
758 B
Plaintext

$OpenBSD: README-cgi,v 1.3 2018/09/04 12:46:21 espie Exp $
+-----------------------------------------------------------------------
| Running ${PKGSTEM} 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 ${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} ${WEB_ROOT}/${SYSCONFDIR}
# ln -s ${WEB_ROOT}/${SYSCONFDIR} ${BASESYSCONFDIR}/
And some libraries must be copied in:
# ${WEB_ROOT}/cgi-bin/apcupsd/copy-libs.sh