salt.modules.daemontools

### Navigation

- index
- modules |
- next |
- previous |
- « SaltStack.org |
- Documentation home
- Full list of builtin execution modules »

# salt.modules.daemontools

daemontools service module. This module will create daemontools type service watcher. This module is states.service compatible so it can be used to maintain service state via provider interface:

> - provider: daemontools

`salt.modules.daemontools.` `full_restart`(name)

  Calls daemontools.restart() function

`salt.modules.daemontools.` `get_all`()

  Return a list of all available services

  CLI Example::
    salt '*' daemontools.get_all

`salt.modules.daemontools.` `reload`(name)

  Wrapper for term()

  CLI Example: salt '*' daemontools.reload <service name>

`salt.modules.daemontools.` `restart`(name)

  Restart service via daemontools. This will stop/start service

  CLI Example:
    salt '*' daemontools.restart <service name>

`salt.modules.daemontools.` `start`(name, enable=None, sig=None)

  Starts service via daemontools

  CLI Example::
    salt '*' daemontools.start <service name>

`salt.modules.daemontools.` `status`(name, sig=None)

  Return the status for a service via daemontools, return pid if running

  CLI Example:

      salt '*' daemontools.status <service name>

`salt.modules.daemontools.` `stop`(name, enable=None, sig=None)

  Stops service via daemontools

  CLI Example::
    salt '*' daemontools.stop <service name>

`salt.modules.daemontools.` `term`(name)

  Send a TERM to service via daemontools

  CLI Example::
    salt '*' daemontools.term <service name>

## Comments

comments powered by Disqus

### Navigation

- index
- modules |
- next |
- previous |
- « SaltStack.org |
- Documentation home
- Full list of builtin execution modules »