# salt.states.supervisord

## Interaction with the Supervisor daemon.

    wsgi_server:
      supervisord:
        - running
        - require:
          - pkg: supervisor
        - watch:
          - file.managed: /etc/nginx/sites-enabled/wsgi_server.conf

`salt.states.supervisord.` `dead`(name, user=None, runas=None, conf_file=None, bin_env=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

    Deprecated since version 0.17.0.

  user

    Name of the user to run the supervisorctl command

    New in version 0.17.0.

  conf_file
    path to supervisorctl config file
  bin_env
    path to supervisorctl bin or path to virtualenv with supervisor installed

`salt.states.supervisord.` `mod_watch`(name, restart=True, update=False, user=None, runas=None, conf_file=None, bin_env=None)

`salt.states.supervisord.` `running`(name, restart=False, update=False, user=None, runas=None, conf_file=None, bin_env=None)

  Ensure the named service is running.

  name
    Service name as defined in the supervisor configuration file
  restart
    Whether to force a restart
  update
    Whether to update the supervisor configuration.
  runas

    Name of the user to run the supervisorctl command

    Deprecated since version 0.17.0.

  user

    Name of the user to run the supervisorctl command

    New in version 0.17.0.

  conf_file
    path to supervisorctl config file
  bin_env
    path to supervisorctl bin or path to virtualenv with supervisor installed

Current Salt release: 0.17.1

### Table Of Contents

- salt.states.supervisord
  - Interaction with the Supervisor daemon.

#### Previous topic

salt.states.stateconf

#### Next topic

salt.states.svn

### Quick search

Enter search terms or a module, class or function name.

### Upcoming SaltStack Events

My conferences on Lanyrd