diff options
| author | Michael Biebl <biebl@debian.org> | 2021-08-16 09:51:46 +0200 |
|---|---|---|
| committer | Michael Biebl <biebl@debian.org> | 2021-08-16 09:51:46 +0200 |
| commit | bfe522304da217296e2a61040f58e35ec5d6f3f2 (patch) | |
| tree | 6c4296644fa59cbfe51d9e8aafebddace5ac6b6f /man/nmcli.1 | |
| parent | 3a56bce6c0ea7ba0fe269520547740783b342e0d (diff) | |
New upstream version 1.30.6 upstream/1.30.6
Diffstat (limited to 'man/nmcli.1')
| -rw-r--r-- | man/nmcli.1 | 35 |
1 files changed, 31 insertions, 4 deletions
diff --git a/man/nmcli.1 b/man/nmcli.1 index d7a01bc7..b8a77fde 100644 --- a/man/nmcli.1 +++ b/man/nmcli.1 @@ -2,12 +2,12 @@ .\" Title: nmcli .\" Author: .\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/> -.\" Date: 02/18/2021 +.\" Date: 07/16/2021 .\" Manual: General Commands Manual -.\" Source: NetworkManager 1.30.0 +.\" Source: NetworkManager 1.30.6 .\" Language: English .\" -.TH "NMCLI" "1" "" "NetworkManager 1\&.30\&.0" "General Commands Manual" +.TH "NMCLI" "1" "" "NetworkManager 1\&.30\&.6" "General Commands Manual" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- @@ -241,7 +241,7 @@ not to wait but to exit immediately with a status of success\&. The default valu .RE .SH "GENERAL COMMANDS" .HP \w'\fBnmcli\ general\fR\ 'u -\fBnmcli general\fR {\fBstatus\fR | \fBhostname\fR | \fBpermissions\fR | \fBlogging\fR} [\fIARGUMENTS\fR...] +\fBnmcli general\fR {\fBstatus\fR | \fBhostname\fR | \fBpermissions\fR | \fBlogging\fR | \fBreload\fR} [\fIARGUMENTS\fR...] .PP Use this command to show NetworkManager status and permissions\&. You can also get and change system hostname, as well as NetworkManager logging level and domains\&. .PP @@ -277,6 +277,33 @@ parameters\&. See \fBNetworkManager.conf\fR(5) for available level and domain values\&. .RE +.PP +\fBreload\fR [\fIflags\fR...] +.RS 4 +Reload NetworkManager\*(Aqs configuration and perform certain updates, like flushing caches or rewriting external state to disk\&. This is similar to sending SIGHUP to NetworkManager but it allows for more fine\-grained control over what to reload through the flags argument\&. It also allows non\-root access via PolicyKit and contrary to signals it is synchronous\&. Available flags are: +.PP +\fBconf\fR +.RS 4 +Reload the NetworkManager\&.conf configuration from disk\&. Note that this does not include connections, which can be reloaded through +\fBnmcli connection reload\fR +instead\&. +.RE +.PP +\fBdns\-rc\fR +.RS 4 +Update DNS configuration, which usually involves writing /etc/resolv\&.conf anew\&. This is equivalent to sending the SIGUSR1 signal to the NetworkManager process\&. +.RE +.PP +\fBdns\-full\fR +.RS 4 +Restart the DNS plugin\&. This is for example useful when using dnsmasq plugin, which uses additional configuration in +/etc/NetworkManager/dnsmasq\&.d\&. If you edit those files, you can restart the DNS plugin\&. This action shortly interrupts name resolution\&. +.RE +.sp +With no flags, everything that is supported is reloaded, which is identical to sending a SIGHUP\&. See +\fBNetworkManager\fR(8) +for more details about signals\&. +.RE .SH "NETWORKING CONTROL COMMANDS" .HP \w'\fBnmcli\ networking\fR\ 'u \fBnmcli networking\fR {\fBon\fR | \fBoff\fR | \fBconnectivity\fR} [\fIARGUMENTS\fR...] |