make sure databases and virtualenv are setup before restarting supervisor