def _upstart_delete(name):
 if HAS_UPSTART:
  if os.path.exists('/etc/init/{0}.conf'.format(name)):
   os.rename('/etc/init/{0}.conf'.format(name), '/etc/init/{0}.conf.removed'.format(name))
 return True

def _upstart_delete ( name ) : if HAS_UPSTART : if os . path . exists ( '/etc/init/{0}.conf' . format ( name ) ) : os . rename ( '/etc/init/{0}.conf' . format ( name ) , '/etc/init/{0}.conf.removed' . format ( name ) ) return True
delete an upstart service .