code: def _upstart_disable(name):
      '''
      Disable an Upstart service.
      '''
      if _upstart_is_disabled(name):
          return _upstart_is_disabled(name)
      override = '/etc/init/{0}.override'.format(name)
      with salt.utils.files.fopen(override, 'a') as ofile:
          ofile.write(salt.utils.stringutils.to_str('manual\n'))
      return _upstart_is_disabled(namef _upstart_disable(name):
      '''
      Disable an Upstart service.
      '''
      if _upstart_is_disabled(name):
          return _upstart_is_disabled(name)
      override = '/etc/init/{0}.override'.format(name)
      with salt.utils.files.fopen(override, 'a') as ofile:
          ofile.write(salt.utils.stringutils.to_str('manual\n'))
      return _upstart_is_disabled(name)
docs: Disable an Upstart service.