@@ -130,7 +130,7 @@ may benefit from this
130
130
Repeat these commands on the second machine
131
131
to see where the target instance stores its state.
132
132
133
- Stop both Unit instances, for example, running the following command as root :
133
+ Stop both Unit instances, for example:
134
134
135
135
.. code-block :: console
136
136
@@ -147,7 +147,7 @@ may benefit from this
147
147
Copy the reference state directory to the target state directory
148
148
by arbitrary means;
149
149
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:
151
151
152
152
.. code-block :: console
153
153
@@ -205,10 +205,6 @@ OpenAPI specification
205
205
Quick start
206
206
***********
207
207
208
-
209
- .. note ::
210
- Run the `curl ` commands in this section as root.
211
-
212
208
For a brief intro,
213
209
we configure Unit to serve a static file.
214
210
Suppose you saved this as **/www/data/index.html **:
@@ -268,7 +264,7 @@ To configure Unit,
268
264
**PUT ** this snippet to the **/config ** section via the
269
265
:ref: `control socket <source-startup >`.
270
266
Working 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 **:
272
268
273
269
.. code-block :: console
274
270
@@ -366,7 +362,7 @@ connections are properly closed,
366
362
processes end smoothly.
367
363
368
364
Any 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:
370
366
371
367
.. code-block :: console
372
368
@@ -404,7 +400,7 @@ For instance, save your application object as **wiki.json**:
404
400
"path" : " /www/wiki/"
405
401
}
406
402
407
- Use it to set up an application called **wiki-prod **.
403
+ Use it to set up an application called **wiki-prod **:
408
404
409
405
.. code-block :: console
410
406
0 commit comments