Update the example "crontab" fragment to the new location for the "htdig"

scripts, and while we're in here, be a little less verbose.
This commit is contained in:
fredb 2002-03-11 07:32:33 +00:00
parent 64c40e7b09
commit 584da08bcc

View file

@ -1,5 +1,5 @@
====================================================================== ======================================================================
$NetBSD: MESSAGE,v 1.1 2001/11/01 02:19:10 zuntum Exp $ $NetBSD: MESSAGE,v 1.2 2002/03/11 07:32:33 fredb Exp $
1) To enable "wwwwoffled" to start on boot on NetBSD-1.5 or newer, 1) To enable "wwwwoffled" to start on boot on NetBSD-1.5 or newer,
please copy "${PREFIX}/etc/rc.d/wwwoffled" to "/etc/rc.d/" and add please copy "${PREFIX}/etc/rc.d/wwwoffled" to "/etc/rc.d/" and add
@ -10,24 +10,23 @@ if [ -x ${PREFIX}/etc/rc.d/wwwoffle ]; then
${PREFIX}/etc/rc.d/wwwoffle ${PREFIX}/etc/rc.d/wwwoffle
fi fi
2) If this was an upgrade, your cache may have been converted and 2) The hooks are present to to use the package version of "htdig",
re-indexed automatically. If not, you may do so by executing the
command "${PREFIX}/sbin/wwwoffle-convert-cache /var/wwwoffle". To
upgrade your wwwoffle.conf file, try the perl script
"${PREFIX}/sbin/wwwoffle-upgrade-config.pl", and also
"${PREFIX}/sbin/wwwoffle-upgrade-config-2.x-2.5.pl", if required.
3) The hooks are present to to use the package version of "htdig",
if installed, to serve a searchable index of your cached pages. if installed, to serve a searchable index of your cached pages.
To make the word database, start "wwwoffle" and execute the script To make the word database, start "wwwoffle" and execute the script
"/var/wwwoffle/html/search/htdig/scripts/wwwoffle-htdig-full". "/var/wwwoffle/search/htdig/scripts/wwwoffle-htdig-full".
4) A complete installation will purge the cache (and optionally 2a) A complete installation will purge the cache (and optionally
reindex the database for "htdig") periodically, as by the following reindex the database for "htdig") periodically, as by the following
example "crontab fragment": example "crontab fragment":
# wwwoffle proxy maintenance # wwwoffle proxy maintenance
01 1 * * 0-5 /usr/bin/nice ${PREFIX}/bin/wwwoffle -purge -c ${PREFIX}/etc/wwwoffle/wwwoffle.conf && /bin/sh /var/wwwoffle/html/search/htdig/scripts/wwwoffle-htdig-incr 01 1 * * 0-5 /usr/bin/nice ${PREFIX}/bin/wwwoffle -purge -c ${PREFIX}/etc/wwwoffle/wwwoffle.conf && /bin/sh /var/wwwoffle/search/htdig/scripts/wwwoffle-htdig-incr
01 1 * * 6 /usr/bin/nice ${PREFIX}/bin/wwwoffle -purge -c ${PREFIX}/etc/wwwoffle/wwwoffle.conf && /bin/sh /var/wwwoffle/html/search/htdig/scripts/wwwoffle-htdig-full 01 1 * * 6 /usr/bin/nice ${PREFIX}/bin/wwwoffle -purge -c ${PREFIX}/etc/wwwoffle/wwwoffle.conf && /bin/sh /var/wwwoffle/search/htdig/scripts/wwwoffle-htdig-full
3) Docs and links for the other supported cache searchers, and all
documentation in fact, is easily accessible once wwwoffle is started,
via
http://localhost:8080/Welcome.html
====================================================================== ======================================================================