salt.modules.supervisord

Provide the service module for supervisord

salt.modules.supervisord.add(name, user=None)

Activates any updates in config for process/group

CLI Example::
salt '*' supervisord.add <name>
salt.modules.supervisord.custom(command, user=None)

Run any custom supervisord command

CLI Example::
salt '*' supervisord.custom "mstop 'gunicorn'"
salt.modules.supervisord.remove(name, user=None)

Removes process/group from active config

CLI Example::
salt '*' supervisord.remove <name>
salt.modules.supervisord.reread(user=None)

Reload the daemon's configuration files

CLI Example::
salt '*' supervisord.reread
salt.modules.supervisord.restart(name='all', user=None)

Restart the named service.

CLI Example::
salt '*' supervisord.restart <service>
salt.modules.supervisord.start(name='all', user=None)

Start the named service

CLI Example::
salt '*' supervisord.start <service>
salt.modules.supervisord.status(name=None, user=None)

List programms and its state

CLI Example::
salt '*' supervisord.status
salt.modules.supervisord.status_raw(name=None, user=None)

Display the raw output of status

CLI Example:

salt '*' supervisord.status_raw
salt.modules.supervisord.stop(name='all', user=None)

Stop the named service.

CLI Example::
salt '*' supervisord.stop <service>
salt.modules.supervisord.update(user=None)

Reload config and add/remove as necessary

CLI Example::
salt '*' supervisord.update

Previous topic

salt.modules.status

Next topic

salt.modules.svn