Set JAVA_HOME more intelligently.
Stop jetty before nuking indexes in reindex
Move the replication cron job to user musicbrainz.