Provide the service module for system supervisord or supervisord in a virtualenv
Activates any updates in config for process/group.
user to run supervisorctl as
path to supervisord config file
path to supervisorctl bin or path to virtualenv with supervisor installed
CLI Example:
salt '*' supervisord.add <name>
Run any custom supervisord command
user to run supervisorctl as
path to supervisord config file
path to supervisorctl bin or path to virtualenv with supervisor installed
CLI Example:
salt '*' supervisord.custom "mstop '*gunicorn*'"
New in version 2014.1.0.
Read the config file and return the config options for a given process
Name of the configured process
path to supervisord config file
CLI Example:
salt '*' supervisord.options foo
Removes process/group from active config
user to run supervisorctl as
path to supervisord config file
path to supervisorctl bin or path to virtualenv with supervisor installed
CLI Example:
salt '*' supervisord.remove <name>
Reload the daemon's configuration files
user to run supervisorctl as
path to supervisord config file
path to supervisorctl bin or path to virtualenv with supervisor installed
CLI Example:
salt '*' supervisord.reread
Restart the named service. Process group names should not include a trailing asterisk.
user to run supervisorctl as
path to supervisord config file
path to supervisorctl bin or path to virtualenv with supervisor installed
CLI Example:
salt '*' supervisord.restart <service>
salt '*' supervisord.restart <group>:
Start the named service. Process group names should not include a trailing asterisk.
user to run supervisorctl as
path to supervisord config file
path to supervisorctl bin or path to virtualenv with supervisor installed
CLI Example:
salt '*' supervisord.start <service>
salt '*' supervisord.start <group>:
List programs and its state
user to run supervisorctl as
path to supervisord config file
path to supervisorctl bin or path to virtualenv with supervisor installed
CLI Example:
salt '*' supervisord.status
Check for status of a specific supervisord process and return boolean result.
name of the process to check
search for a specific process state. If set to None
- any process state will match.
user to run supervisorctl as
path to supervisord config file
path to supervisorctl bin or path to virtualenv with supervisor installed
CLI Example:
salt '*' supervisord.status_bool nginx expected_state='RUNNING'
Display the raw output of status
user to run supervisorctl as
path to supervisord config file
path to supervisorctl bin or path to virtualenv with supervisor installed
CLI Example:
salt '*' supervisord.status_raw
Stop the named service. Process group names should not include a trailing asterisk.
user to run supervisorctl as
path to supervisord config file
path to supervisorctl bin or path to virtualenv with supervisor installed
CLI Example:
salt '*' supervisord.stop <service>
salt '*' supervisord.stop <group>:
Reload config and add/remove/update as necessary
user to run supervisorctl as
path to supervisord config file
path to supervisorctl bin or path to virtualenv with supervisor installed
name of the process group to update. if none then update any process group that has changes
CLI Example:
salt '*' supervisord.update