Running a renderserver consists in running multiple programs [1]. Unless you have some special requirements, you should be able to start a working renderserver by running the following commands:
$ nserve.py
$ mw-qserve
$ nslave.py --cachedir ~/cache/
$ postman.py
These programs have the following purposes:
None of the programs has the ability to run as a daemon. We recommend using runit for process supervision. daemontools is similar solution. Another alternative is to use supervisor.
[1] | In mwlib prior to version 0.13 it was possible to get away with running a single mw-serve program or even running no program at all by using the mwlib.cgi script. These programs have been removed in favor of the new tools, which provide the ability to scale an installation. |
nserve understands the following options:
--port=PORT
specify port to listen on. Default is to listen on port 8899 on any interface.
Any additional arguments are interpreted as additional qserve instances to register.
The following command starts nserve listening on port 8000 using two qserve instances:
nserve.py --port 8000 example1:14311 example2
mw-qserve understands the following options:
nslave understands the following options:
--cachedir=CACHEDIR
specify cachedir to use. this is where nslave.py will store generated documents.
postman understands the following options: