@@ -307,20 +307,19 @@ Edit current configuration
307
307
++++++++++++++++++++++++++
308
308
309
309
Unitctl can fetch the configuration from a running instance of Unit and load it
310
- in any number of preconfigured editors on your command line using the **edit **
311
- command.
310
+ in a preconfigured editor on your command line using the **edit ** command.
312
311
313
- Unitctl will try to use whatever editor is configured with the **EDITOR ** environment
314
- variable, but will default to vim, emacs, nano, vi, or pico.
312
+ Unitctl tries to use the editor configured with the **EDITOR ** environment
313
+ variable, but defaults to vim, emacs, nano, vi, or pico if ** EDITOR ** is not set .
315
314
316
- To edit the current configuration, run the following command :
315
+ To edit the current configuration, run:
317
316
318
317
.. code-block :: console
319
318
320
319
$ unitctl edit
321
320
322
- The configuration will be loaded into the editor, and you can make any necessary
323
- changes. Once you save and close the editor, you will see the following output:
321
+ The configuration loads into the editor, allowing you to make any necessary
322
+ changes. Once you save and close the editor, you see the following output:
324
323
325
324
.. code-block :: console
326
325
@@ -336,11 +335,11 @@ changes. Once you save and close the editor, you will see the following output:
336
335
Importing the configuration from a folder
337
336
+++++++++++++++++++++++++++++++++++++++++
338
337
339
- Using the **import ** command, Unitctl will parse existing configuration,
340
- certificates, and NJS modules stored in a directory and convert them into a
341
- payload to reconfigure a given Unit daemon.
338
+ The **import ** command lets Unitctl read configuration files, certificates, and
339
+ NJS modules from a directory. Unitctl then converts these files into a payload
340
+ to reconfigure a Unit daemon.
342
341
343
- To export the configuration, run the following command :
342
+ To export the configuration, run:
344
343
345
344
.. code-block :: console
346
345
@@ -354,11 +353,11 @@ To export the configuration, run the following command:
354
353
Exporting the configuration from Unit
355
354
+++++++++++++++++++++++++++++++++++++
356
355
357
- The **export ** command will query a control API to fetch running configuration
358
- and NJS modules from a Unit process. Due to a technical limitation this output
359
- will not contain the currently stored certificate bundles . The output is saved
360
- as a tarball at the filename given with the **-f ** argument. Standard out may be
361
- used with **-f - ** as shown in the following examples:
356
+ The **export ** command queries a control API to fetch the running configuration
357
+ and NJS modules from a Unit process. The output does not include the currently
358
+ stored certificate bundles due to a technical limitation . The output is saved
359
+ as a tarball with the filename specified by the **-f ** argument. You can also
360
+ use standard output with **-f - **, as shown in the examples below :
362
361
363
362
.. code-block :: console
364
363
@@ -379,7 +378,7 @@ used with **-f -** as shown in the following examples:
379
378
Wait for a socket to be available
380
379
+++++++++++++++++++++++++++++++++
381
380
382
- All commands support waiting on unix sockets for availability :
381
+ All commands support waiting for Unix sockets to become available :
383
382
384
383
.. code-block :: console
385
384
0 commit comments