Pyro module management.
Use this module to manage a Pyro name server.
Pyro manager object.
Parameters: |
|
---|
Check Pyro health.
Raises : | base.WorkerError if we cannot locate the Pyro name server. |
---|
Return the process object.
Wait until the worker subprocess is responding to requests.
Parameters: |
|
---|---|
Raises : | WorkerError if the worker is not ready within the time limit. |
Raises : | WorkerError if there is no subprocess. |
Launch the Pyro name server in its own process.
Parameters: |
|
---|---|
Raises : | base.WorkerError if the worker hasn’t started before timeout elapses. |
Terminate the worker subprocess.
Parameters: |
|
---|
Wait for the worker process to exit.
You can use this script to start a copy of the pyro nameserver; however, you could just as easily run the pyro-ns script installed by pyro.
Usage: pyro.py [options]
-h, --help | show this help message and exit |
-H HOST, --host=HOST | |
Pyro nameserver hostname | |
-p PORT, --port=PORT | |
Pyro nameserver port | |
-d DATADIR, --datadir=DATADIR | |
Pyro data directory |