def _upstart_services():
    if HAS_UPSTART:
        return [os.path.basename(name)[:-5]
            for name in glob.glob('/etc/init/*.conf')]
    else:
        return []
Return list of upstart services.
dataset/ETHPy150Open saltstack/salt/salt/modules/rh_service.py/_upstart_services