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

Table Of Contents

Previous topic

salt.states.stateconf

Next topic

salt.states.svn