@decorators.memoize
def _cmd():
    service = salt.utils.which('service')
    if not service:
        raise CommandNotFoundError
    return service
Return full path to service command
dataset/ETHPy150Open saltstack/salt/salt/modules/freebsdservice.py/_cmd