def start
      extract_and_configure
      if config.managed?
        @pid = spawn(config.env, *process_arguments)

        # Wait for fcrepo to start
        while !status
          sleep 1
        end
      end
    end
def start
      extract_and_configure
      if config.managed?
        @pid = spawn(config.env, *process_arguments)

        # Wait for fcrepo to start
        while !status
          sleep 1
        end
      end
    end
Start fcrepo and wait for it to become available