salt.states.supervisord

### Navigation

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

# salt.states.supervisord

## Interaction with the Supervisor daemon.

    wsgi_server:
      supervisord:
        - running
        - restart: False
        - require:
            - pkg: supervisor

`salt.states.supervisord.` `dead`(name, runas=None)

  Ensure the named service is dead (not running).

  name
    Service name as defined in the supervisor configuration file
  runas
    Name of the user to run the supervisorctl command

`salt.states.supervisord.` `running`(name, restart=False, runas=None)

  Ensure the named service is running.

  name
    Service name as defined in the supervisor configuration file
  restart
    Whether to force a restart e.g. when updating a service
  runas
    Name of the user to run the supervisorctl command

## Comments

comments powered by Disqus

### Navigation

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