wsgi_server:
supervisord.running:
- require:
- pkg: supervisor
- watch:
- file: /etc/nginx/sites-enabled/wsgi_server.conf
Ensure the named service is dead (not running).
Service name as defined in the supervisor configuration file
Name of the user to run the supervisorctl command
New in version 0.17.0.
path to supervisorctl config file
path to supervisorctl bin or path to virtualenv with supervisor installed
The supervisord watcher, called to invoke the watch command. Always restart on watch
Note
This state exists to support special handling of the watch
requisite. It should not be called directly.
Parameters for this function should be set by the state being triggered.
Ensure the named service is running.
Service name as defined in the supervisor configuration file
Whether to force a restart
Whether to update the supervisor configuration.
Name of the user to run the supervisorctl command
New in version 0.17.0.
path to supervisorctl config file
path to supervisorctl bin or path to virtualenv with supervisor installed