@@ -7,7 +7,7 @@ Py-QGIS-Server
77Pre-requirements
88================
99
10- We supposed, you already have installed QGIS Server packages, as explain in the
10+ We suppose that you already have installed QGIS Server packages, as explained in the
1111`QGIS Server documentation <https://docs.qgis.org/latest/en/docs/server_manual/ >`_.
1212
1313.. note ::
@@ -41,12 +41,12 @@ Folders used below
4141
4242.. code-block :: bash
4343
44- mkdir -p /srv/qgis/plugins /srv/qgis/config /var/log/qgis /var/lib/py-qgis-server /var/data
44+ mkdir -p /srv/qgis/plugins /srv/qgis/config /srv/data / var/log/qgis /var/lib/py-qgis-server /var/data
4545
4646 The file to watch for restarting workers
4747----------------------------------------
4848
49- We create an empty file that will be watch by Py-QGIS-Server to check when to restart QGIS Server map workers.
49+ We create an empty file that will be watched by Py-QGIS-Server to check when to restart QGIS Server map workers.
5050
5151.. code-block :: bash
5252
@@ -66,7 +66,7 @@ We create the executable file :file:`/usr/bin/qgis-reload` to restart QGIS Serve
6666 touch /var/lib/py-qgis-server/py-qgis-restartmon
6767
6868
69- Then we when change its mod :
69+ Then we change its mod :
7070
7171.. code-block :: bash
7272
@@ -115,7 +115,7 @@ We create the Py-QGIS-Server configuration file :file:`/srv/qgis/server.conf`. I
115115 In this example:
116116
117117* QGIS Server will be available at ``http://127.0.0.1:7200/ows/ ``
118- * the plugins are installed in :file`/srv/qgis/plugins` (``pluginpath ``). See :ref: `qgis-server-plugins `.
118+ * the plugins are installed in :file: `/srv/qgis/plugins ` (``pluginpath ``). See :ref: `qgis-server-plugins `.
119119* the file to watch for restarting workers is :file: `/var/lib/py-qgis-server/py-qgis-restartmon ` (``restartmon ``).
120120* the directory containing the projects to be published :file: `/srv/data ` (``rootdir ``). The projects must be in sub-folders.
121121* Lizmap QGIS Server API is enabled
@@ -141,7 +141,7 @@ First of all, we create an environment file :file:`/srv/qgis/config/qgis-service
141141
142142 In this file, we defined:
143143
144- * The lang
144+ * The language
145145* The Xvfb display port, needed to print PDF
146146* The QGIS options and ``authDB `` path (needed for HTTPS, when used in remote layers such as OSM tiles)
147147* Lizmap environment variable to reveal settings
@@ -181,7 +181,7 @@ Then we can create the QGIS `service systemd file <https://wiki.debian.org/syste
181181 [Install]
182182 WantedBy=multi-user.target
183183
184- Finally, we enable the QGIS Server service to start it and to be sure it is started at system launch :
184+ Finally, we enable the QGIS Server service to start at system launch and we also start the service right now :
185185
186186.. code-block :: bash
187187
0 commit comments