pub fn write_lease(root: &Path, lease: &Lease) -> Result<(), OrchestratorError>
Write the lease for a running daemon.