From 584da08bcccad7ca0e5ed4f2c3850c60e5ac07fb Mon Sep 17 00:00:00 2001 From: fredb Date: Mon, 11 Mar 2002 07:32:33 +0000 Subject: Update the example "crontab" fragment to the new location for the "htdig" scripts, and while we're in here, be a little less verbose. --- www/wwwoffle/MESSAGE | 25 ++++++++++++------------- 1 file changed, 12 insertions(+), 13 deletions(-) (limited to 'www') diff --git a/www/wwwoffle/MESSAGE b/www/wwwoffle/MESSAGE index ceba37ca30b..a72804c40ae 100644 --- a/www/wwwoffle/MESSAGE +++ b/www/wwwoffle/MESSAGE @@ -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, 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 fi -2) If this was an upgrade, your cache may have been converted and -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", +2) The hooks are present to to use the package version of "htdig", if installed, to serve a searchable index of your cached pages. 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 example "crontab fragment": # 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 * * 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 * * 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/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 ====================================================================== -- cgit v1.2.3