|
|
|
@ -71,10 +71,10 @@ EXAMPLES = '''
|
|
|
|
|
- supervisorctl: name=my_app state=started
|
|
|
|
|
|
|
|
|
|
# Restart my_app, reading supervisorctl configuration from a specified file.
|
|
|
|
|
- supervisorctl: name=my_app state=restart config=/var/opt/my_project/supervisord.conf
|
|
|
|
|
- supervisorctl: name=my_app state=restarted config=/var/opt/my_project/supervisord.conf
|
|
|
|
|
|
|
|
|
|
# Restart my_app, connecting to supervisord with credentials and server URL.
|
|
|
|
|
- supervisorctl: name=my_app state=restart username=test password=testpass server_url=http://localhost:9001
|
|
|
|
|
- supervisorctl: name=my_app state=restarted username=test password=testpass server_url=http://localhost:9001
|
|
|
|
|
|
|
|
|
|
'''
|
|
|
|
|
|
|
|
|
|