diff options
author | Daniel Salzman <daniel.salzman@nic.cz> | 2024-01-15 12:42:46 +0100 |
---|---|---|
committer | David VaĊĦek <david.vasek@nic.cz> | 2024-01-16 13:48:11 +0100 |
commit | 63fe7493506525c4c582d46d16dde5f700c66e79 (patch) | |
tree | 6c0bfde41c04c82ea1358bfb04bebd9c77ccc7d4 /doc | |
parent | conf: change conf_import() arguments to flags (diff) | |
download | knot-63fe7493506525c4c582d46d16dde5f700c66e79.tar.xz knot-63fe7493506525c4c582d46d16dde5f700c66e79.zip |
knotc: add +nopurge filter for conf-import
Diffstat (limited to 'doc')
-rw-r--r-- | doc/man/knotc.8in | 4 | ||||
-rw-r--r-- | doc/man_knotc.rst | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/doc/man/knotc.8in b/doc/man/knotc.8in index a86aeb1d5..1191e6204 100644 --- a/doc/man/knotc.8in +++ b/doc/man/knotc.8in @@ -269,10 +269,12 @@ to access the database (e.g. \fIsudo \-u knot knotc conf\-init\fP). (*) \fBconf\-check\fP Check the server configuration. (*) .TP -\fBconf\-import\fP \fIfilename\fP +\fBconf\-import\fP \fIfilename\fP [+nopurge] Import a configuration file into the configuration database. If the database doesn\(aqt exist yet, execute this command as an intended user to ensure the server is permitted to access the database (e.g. \fIsudo \-u knot knotc conf\-import ...\fP). +An optional filter \fB+nopurge\fP prevents possibly existing configuration +database from purging before the import itself. Also ensure the server is not using the configuration database at the same time! (*) .TP \fBconf\-export\fP [\fIfilename\fP] diff --git a/doc/man_knotc.rst b/doc/man_knotc.rst index 875088a08..c6b72b9b2 100644 --- a/doc/man_knotc.rst +++ b/doc/man_knotc.rst @@ -246,10 +246,12 @@ Actions **conf-check** Check the server configuration. (*) -**conf-import** *filename* +**conf-import** *filename* [+nopurge] Import a configuration file into the configuration database. If the database doesn't exist yet, execute this command as an intended user to ensure the server is permitted to access the database (e.g. *sudo -u knot knotc conf-import ...*). + An optional filter **+nopurge** prevents possibly existing configuration + database from purging before the import itself. Also ensure the server is not using the configuration database at the same time! (*) **conf-export** [*filename*] |