wsgi_server:
supervisord.running:
- require:
- pkg: supervisor
- watch:
- file: /etc/nginx/sites-enabled/wsgi_server.conf
salt.states.supervisord.
dead
(name, user=None, conf_file=None, bin_env=None)¶Ensure the named service is dead (not running).
Name of the user to run the supervisorctl command
0.17.0 新版功能.
salt.states.supervisord.
mod_watch
(name, restart=True, update=False, user=None, conf_file=None, bin_env=None, **kwargs)¶salt.states.supervisord.
running
(name, restart=False, update=False, user=None, conf_file=None, bin_env=None)¶Ensure the named service is running.
Name of the user to run the supervisorctl command
0.17.0 新版功能.