[daisy] 2.0-RC on Linux : Wrapper Script
Andreas Deininger
adeininger at googlemail.com
Wed Mar 21 08:13:41 CDT 2007
2007/3/21, David Rideau <david.rideau at grenet.fr>:
> Hi all,
>
> I have tested the 2.0-RC installation on a Linux RHEL4 and would give a
> comment on the wrapper script.
>
> First, the path registered for the conf file in the
> $DAISY_HOME/wrapper/bin/daisy-repository-server-service and
> daisy-wiki-service,
David, you are not supposed to use the wrapper scripts inside
$DAISY_HOME/wrapper/bin/, but inside
$DAISY_DATADIR/service/ and $DAISY_WIKIDATADIR/service/
These should work out of the box.
We've put the wrapper scripts inside the data dirs because there they
will survive an upgrade of daisy.
> does not contain the relative path from the "bin"
> directory. I have to correct it like that in each script :
> WRAPPER_CONF="./daisy-repository-server-service.conf"
> ==>
> WRAPPER_CONF="../conf/daisy-repository-server-service.conf"
>
>
> Second, in the conf/*.conf files, the DAISY_HOME, DAISY_DATADIR and
> DAISYWIKI_DATADIR are not set and should be set manually.
> I don't know if this is the desired behavior ?
The environment variables of the conf files inside the data dirs are
set during installation, so there should be no need to set them
manually.
> If it is, perhaps should it be mentionned in the 2.0 installation
> procedure ?
The daisy documentation for the 2.0 branch has been updated already
and tells quite verbose how to use the scripts:
http://cocoondev.org/daisydocs-2_0/admin/service/193-cd.html
So for me your request boils down to the question:
how do we prevent the users from using the wrapper scripts in
DAISY_HOME and make them aware of the fact that the scripts in the
datadirs should be used?
Deleting them during installation does not seem to be desirable for
me. Maybe we should put a README.txt inside that directory? Or should
we make them runnable out of the box, too? Other suggestions?
Regards
Andreas
More information about the daisy
mailing list