neo4j/packaging — pull request #22 by jakewins (2012-05-02 14:49:11+00:00)
Title: Unix boot scripts now wait for recovery.

This is a quick approach to making the boot scripts wait for a database recovery, by checking if the last line in the server log contains "recovery".

The alternative would be what we did with upgrades, to build a specific recovery java app that we launch before we start the server to ensure a consistent DB. I took this approach because of the low cost of it, I thought that outweighed that this is more fragile (depending on log messages).

Open for the bigger approach, if whoever reviews this thinks it's worth the effort.

/cc @digitalstain @akolleger