code: def _check_for_unit_changes(name):
      '''
      Check for modified/updated unit files, and run a daemon-reload if any are
      found.
      '''
      contextkey = 'systemd._check_for_unit_changes.{0}'.format(name)
      if contextkey not in __context__:
          if _untracked_custom_unit_found(name) or _unit_file_changed(name):
              systemctl_reload()
          # Set context key to avoid repeating this check
          __context__[contextkey] = Truf _check_for_unit_changes(name):
      '''
      Check for modified/updated unit files, and run a daemon-reload if any are
      found.
      '''
      contextkey = 'systemd._check_for_unit_changes.{0}'.format(name)
      if contextkey not in __context__:
          if _untracked_custom_unit_found(name) or _unit_file_changed(name):
              systemctl_reload()
          # Set context key to avoid repeating this check
          __context__[contextkey] = True
docs: Check for modified/updated unit files, and run a daemon-reload if any are
      found.