extracted process-spawning functionality from server startup state