code: func (m *systemdUnitManager) Load(name string, u unit.UnitFile) error {
  	m.mutex.Lock()
  	defer m.mutex.Unlock()
  	err := m.writeUnit(name, u.String())
  	if err != nil {
  		return err
  	}
  	if _, exists := u.Contents["Install"]; exists {
  		log.Debugf("Detected [Install] section in the systemd unit (%s)", name)
  		ok, err := m.enableUnit(name)
  		if err != nil || !ok {
  			m.removeUnit(name)
  			return fmt.Errorf("Failed to enable systemd unit %s: %v", name, err)
  		}
  	}
  	m.hashes[name] = u.Hash()
  	return nil
  }
docs: // Load writes the given Unit to disk, subscribing to relevant dbus
  // events and caching the Unit's Hash.