Fix translations and grammar for section "Supervisord management" in

12.3.md
This commit is contained in:
Anchor
2014-12-25 09:44:18 -08:00
committed by James Miranda
parent 0dac62a36c
commit af75ffba16

View File

@@ -127,9 +127,9 @@ Supervisord can easily be installed using `sudo easy_install supervisor`. Of cou
Go to `http://pypi.python.org/pypi/setuptools#files` and download the appropriate file, depending on your system's python version. Enter the directory and execute `sh setuptoolsxxxx.egg`. When then script is done, you'll be able to use the `easy_install` command to install Supervisord.
### Supervisord Configure
### Configuring Supervisord
Supervisord default configuration file path is `/etc/supervisord.conf`, through a text editor to modify this file, the following is a sample configuration file:
Supervisord's default configuration file path is `/etc/supervisord.conf`, and can be modified using a text editor. The following is what a typical configuration file may look like:
;/etc/supervisord.conf
[unix_http_server]
@@ -172,14 +172,14 @@ Supervisord default configuration file path is `/etc/supervisord.conf`, through
### Supervisord management
After installation is complete, there are two Supervisord available command line supervisor and supervisorctl, command explained as follows:
After installation is complete, two Supervisord commands become available to you on the command line: `supervisor` and `supervisorctl`. The commands are as follows:
- Supervisord, initial startup Supervisord, start, set in the configuration management process.
- Supervisorctl stop programxxx, stop one process(programxxx), programxxx for the [program: blogdemon] in configured value, this example is blogdemon.
- Supervisorctl start programxxx, start a process
- Supervisorctl restart programxxx, restarting a process
- Supervisorctl stop all, stop all processes, Note: start, restart, stop will not load the latest configuration files.
- Supervisorctl reload, load the latest configuration file, and press the new configuration to start, manage all processes.
- `supervisord`: initial startup, launch, and process configuration management.
- `supervisorctl stop programxxx`: stop the programxxx process, where programxxx is a value configured in your `supervisord.conf` file. For instance, if you have something like `[program: blogdemon]` configured, you would use the `supervisorctl stop blogdemon` command to kill the process.
- `supervisorctl start programxxx`: start the programxxx process
- `supervisorctl restart programxxx`: restart the programxxx process
- `supervisorctl stop all`: stop all processes; note: start, restart, stop will not load the latest configuration files.
- `supervisorctl reload`: load the latest configuration file, launch them, and manage all processes with the new configuration.
## Summary