@@ -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:
133+ Stop both Unit instances, for example, running the following command as root :
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:
150+ Finally, restart both Unit instances running the following command as root :
151151
152152 .. code-block :: console
153153
@@ -205,6 +205,10 @@ OpenAPI specification
205205Quick start
206206***********
207207
208+
209+ .. note ::
210+ Run the `curl ` commands in this section as root.
211+
208212For a brief intro,
209213we configure Unit to serve a static file.
210214Suppose you saved this as **/www/data/index.html **:
@@ -264,7 +268,7 @@ To configure Unit,
264268**PUT ** this snippet to the **/config ** section via the
265269:ref: `control socket <source-startup >`.
266270Working with JSON in the command line can be cumbersome;
267- instead, save and upload it as **snippet.json **:
271+ instead, save and upload it as **snippet.json **.
268272
269273.. code-block :: console
270274
@@ -362,7 +366,7 @@ connections are properly closed,
362366processes end smoothly.
363367
364368Any type of update can be done with different URIs,
365- provided you supply the right JSON:
369+ provided you supply the right JSON. Run the following commands as root :
366370
367371.. code-block :: console
368372
@@ -400,7 +404,7 @@ For instance, save your application object as **wiki.json**:
400404 "path" : " /www/wiki/"
401405 }
402406
403- Use it to set up an application called **wiki-prod **:
407+ Use it to set up an application called **wiki-prod **.
404408
405409.. code-block :: console
406410
0 commit comments