Run server on startup.