diff options
author | Jonas Smedegaard <dr@jones.dk> | 2002-01-27 22:44:13 +0000 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2002-01-27 22:44:13 +0000 |
commit | 554bf21ff2353107d6290c03ebf8eac14889f409 (patch) | |
tree | a71b3b7a1b7daa5114aaaff7f78cafac4b0ad875 /htdig-run | |
parent | 8ddc93bf6bb816de1e279aa8cff379b248cede93 (diff) |
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.
Diffstat (limited to 'htdig-run')
-rwxr-xr-x | htdig-run | 25 |
1 files changed, 0 insertions, 25 deletions
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 |