def __virtual__():
    # Disable on these platforms, specific service modules exist:
    if __grains__['os'] == 'FreeBSD':
        return __virtualname__
    return (False, 'The freebsdservice execution module cannot be loaded: only available on FreeBSD systems.')
Only work on FreeBSD
dataset/ETHPy150Open saltstack/salt/salt/modules/freebsdservice.py/__virtual__