@@ -130,7 +130,7 @@ may benefit from this
130130 Repeat these commands on the second machine
131131 to see where the target instance stores its state.
132132
133- Stop both Unit instances, for example, running the following command as root :
133+ Stop both Unit instances, for example:
134134
135135 .. code-block :: console
136136
@@ -147,7 +147,7 @@ may benefit from this
147147 Copy the reference state directory to the target state directory
148148 by arbitrary means;
149149 make sure to include subdirectories and hidden files.
150- Finally, restart both Unit instances running the following command as root :
150+ Finally, restart both Unit instances:
151151
152152 .. code-block :: console
153153
@@ -205,10 +205,6 @@ OpenAPI specification
205205Quick start
206206***********
207207
208-
209- .. note ::
210- Run the `curl ` commands in this section as root.
211-
212208For a brief intro,
213209we configure Unit to serve a static file.
214210Suppose you saved this as **/www/data/index.html **:
@@ -268,7 +264,7 @@ To configure Unit,
268264**PUT ** this snippet to the **/config ** section via the
269265:ref: `control socket <source-startup >`.
270266Working with JSON in the command line can be cumbersome;
271- instead, save and upload it as **snippet.json **.
267+ instead, save and upload it as **snippet.json **:
272268
273269.. code-block :: console
274270
@@ -366,7 +362,7 @@ connections are properly closed,
366362processes end smoothly.
367363
368364Any type of update can be done with different URIs,
369- provided you supply the right JSON. Run the following commands as root :
365+ provided you supply the right JSON:
370366
371367.. code-block :: console
372368
@@ -404,7 +400,7 @@ For instance, save your application object as **wiki.json**:
404400 "path" : " /www/wiki/"
405401 }
406402
407- Use it to set up an application called **wiki-prod **.
403+ Use it to set up an application called **wiki-prod **:
408404
409405.. code-block :: console
410406
0 commit comments