def _upstart_disable(name):
 if _upstart_is_disabled(name):
  return _upstart_is_disabled(name)
 override = '/etc/init/{0}.override'.format(name)
 with salt.utils.fopen(override, 'a') as ofile:
  ofile.write('manual\n')
 return _upstart_is_disabled(name)

def _upstart_disable ( name ) : if _upstart_is_disabled ( name ) : return _upstart_is_disabled ( name ) override = '/etc/init/{0}.override' . format ( name ) with salt . utils . fopen ( override , 'a' ) as ofile : ofile . write ( 'manual\n' ) return _upstart_is_disabled ( name )
disable an upstart service .