[daisy] Starting DAISY automatically

Andreas Deininger adeininger at googlemail.com
Fri Aug 3 05:55:01 CDT 2007


2007/8/3, Bruno Dumon <bruno at outerthought.org>:
> On Fri, 2007-08-03 at 11:14 +0200, Andreas Deininger wrote:
> > 2007/7/27, Peter Dykstra <peter.dykstra at verizon.net>:
> > >
> > > I've been trying to find a solution to a problem I know others have faced,
> > > setting up a single startup procedure for the repository server and wiki.
> > > There have been various notes about this in the past. This is the most
> > > recent I can find on the subject:
> > >
> > > http://issues.cocoondev.org//browse/DSY-431?page=comments#action_13094
> > >
> > > Does anyone have a more recent update?  I don't see anything in the 2.0 doc
> > > about this, and am interested to know if there is a sanctioned solution, an
> > > updated script or if the above is the latest word.
> > >
> > > Thanks for any info!
> >
> > I'm not aware of any recent movement on that issue. You may apply and
> > try out my patch, which IMHO provides a final solution for that issue.
> > Please note however, that some small adaptations have to be made due
> > to the changed structure of the wrapper startup scripts. No idea when
> > or if that patch will reviewed at all. If I knew it were reviewed I
> > would be willing to upload an updated version to JIRA.
>
> Skimming over the patch I see the wrapper supports the ability to wait
> for the main method to complete.
>
> Maybe this didn't work with Merlin, but the main method of the new Daisy
> Runtime does exit after startup, so probably by specifying this
> parameter the problem would be solved?

I don't understand that. The new Daisy Runtime is for starting up the
repository, isn't it? And  DSY-431 deals with starting up the wiki,
whereby startup of the wiki should be delayed until the repository
actually is up. If we have two independent wrapper scripts for
starting up the repository and the wiki (and that's what we have at
the moment), the way I see to implement that is that the wiki startup
script checks whether the repository is already up (by port pinging,
by trying to establish a connection to it or by other means). This is
what my patch is about. Are there other solutions I don't see?

Regards
Andreas


More information about the daisy mailing list