These files are not maintained by Index Data.
They have been contributed by Kasper Løvschall  kasper@aub.auc.dk, 
and are distributed with the TKL source tarball as a courtesy to other
non-Linux and non-Debian users. Please contact Kasper if in doubt how to use 
them.  



I've made starting/stopping and maintenance scripts for TKL running Solaris
and I think they'll run on most other platforms as well including Linux.
(Well, the Debian ones didn't but these are more generic :o)

The scripts reflect that I installed TKL in a non-standard location but
I think that I've put all paths in variables. So edit the scripts before
using them. All scripts must be run as 'root'.

Some comments:


/etc/init.d/tkl script:

Works with the harvester since it accept options for the index/reindex
function.

I've reduced the number of locations for the config file. I call it
tklite.conf only - no .tklite. Change it if you like...

Each portal can have it's own connection method. I have one where a
tcp/z39.50 is needed as well as a socket for the user interface.
The file db/connect.cfg within each portal takes care of that (if
it does not exist the default value is used).

I've reimplemented the status option with a double check to see if
it really is up and running.

Reindex and index are not the same. Index performs an init on the
db where reindex just build on the existing. This is faster for
large portals on a daily basis. The -L option is added to zebraidx
for not following symlinks.

The stop option is a bit stupid but works unless you by accident
delete the pid file of the zebrasrv process. You could combine it
with code from the status option.


tkl-webharvester and tkl-oai-harvester:

Same status option as tkl script.


oai.cron and web.cron are just plain restart scripts.


tkl.cron:

The url-check looks for a file 'nourlcheck' in each portal root.
If it exists it will not perform any check.


It might be a good idea to split up the tkl.cron script in three separate
scripts on lager installations.



Kind regards,
Kasper Løvschall

Development Consultant, Civil Engineer M.Sc.
Aalborg University Library
Langagervej 2
Po.box 8200
DK-9220 Aalborg Øst
Denmark

Tel: (+45)9635 7303, Fax: (+45)9815 3844, Mobile: (+45)2895 9129

E-mail: kasper@aub.auc.dk