summary refs log tree commit diff
path: root/doc
diff options
context:
space:
mode:
authormuradm <mail@muradm.net>2022-09-04 14:24:42 +0300
committerMaxim Cournoyer <maxim.cournoyer@gmail.com>2022-09-14 11:29:11 -0400
commit29d52a56f2d254781b65dbec0f1009db0b9d06e6 (patch)
tree85ef2670603a35a6cfe23841fb995008ba4457c4 /doc
parent0336372296e676f97799d6a3a1e9cf209f14c6bc (diff)
downloadguix-29d52a56f2d254781b65dbec0f1009db0b9d06e6.tar.gz
gnu: fail2ban-service-type: Improve extra-content fields.
* gnu/services/security.scm
(fail2ban-jail-configuration)[extra-content]: Change to text-config.
(fail2ban-configuration)[extra-content]: Change to text-config.
* gnu/doc/guix.texi: Update type of extra-content fields.

Modified-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/guix.texi10
1 files changed, 6 insertions, 4 deletions
diff --git a/doc/guix.texi b/doc/guix.texi
index c21235f28d..c5d2c2d5d8 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -36628,8 +36628,9 @@ extensions.
 @item @code{extra-jails} (default: @code{()}) (type: list-of-fail2ban-jail-configurations)
 Instances of @code{<fail2ban-jail-configuration>} explicitly provided.
 
-@item @code{extra-content} (type: maybe-string)
-Extra raw content to add to the end of the @file{jail.local} file.
+@item @code{extra-content} (default: @code{()}) (type: text-config)
+Extra raw content to add to the end of the @file{jail.local} file,
+provided as a list of file-like objects.
 
 @end table
 
@@ -36756,8 +36757,9 @@ The file names of the log files to be monitored.
 @item @code{action} (default: @code{()}) (type: list-of-fail2ban-jail-actions)
 A list of @code{<fail2ban-jail-action-configuration>}.
 
-@item @code{extra-content} (type: maybe-string)
-Extra content for the jail configuration.
+@item @code{extra-content} (default: @code{()}) (type: text-config)
+Extra content for the jail configuration, provided as a list of file-like
+objects.
 
 @end table