code: def stop(name):
      '''
      Stops service via daemontools
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' daemontools.stop <service name>
      '''
      __salt__['file.touch']('{0}/down'.format(_service_path(name)))
      cmd = 'svc -d {0}'.format(_service_path(name))
      return not __salt__['cmd.retcode'](cmd, python_shell=Falsef stop(name):
      '''
      Stops service via daemontools
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' daemontools.stop <service name>
      '''
      __salt__['file.touch']('{0}/down'.format(_service_path(name)))
      cmd = 'svc -d {0}'.format(_service_path(name))
      return not __salt__['cmd.retcode'](cmd, python_shell=False)
docs: Stops service via daemontools
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' daemontools.stop <service name>