From 554bf21ff2353107d6290c03ebf8eac14889f409 Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Sun, 27 Jan 2002 22:44:13 +0000 Subject: Major overhaul of localwebsearch: - Remove unused run-mode options. - Added run-mode "initprep" that marks next run as a full run (inspired by new design of htdig cron routines). - Properly structure run-modes, and use individual lockfiles for each WEBDIR. - Remove leftover stuff from localwebstats. --- htdig-run | 25 ------------------------- 1 file changed, 25 deletions(-) delete mode 100755 htdig-run (limited to 'htdig-run') diff --git a/htdig-run b/htdig-run deleted file mode 100755 index c94f1cd..0000000 --- a/htdig-run +++ /dev/null @@ -1,25 +0,0 @@ -#!/bin/sh -e - -htbin=/usr/bin -source=/tmp -search_host=search.jones.dk - -site=$1 -ext=$2 -conffile=/etc/htdig/$site.conf -conf_target=/var/www/VIRTUAL/$search_host/htdig/conf/$site -db_target=/var/local/lib/htdig/db/$site - -docopy() { -# rcp $source/*.docdb $source/*.docs.index $source/*.words.gdbm ${search_host}:$target - rsync -e "ssh" $source/*.docdb $source/*.docs.index $source/*.words.gdbm ${search_host}:$db_target -} - -mkdir -p $db_target -test -e $conf_target || ln -s COMMON_en/ $conf_target -#$htbin/htdig -i -c $conffile $ext -$htbin/htdig -c $conffile $ext -#$htbin/htmerge -c $conffile $ext -$htbin/htmerge -c $conffile - -#docopy -- cgit v1.2.3