aboutsummaryrefslogtreecommitdiff
path: root/documentation/content
diff options
context:
space:
mode:
authorOliver Epper <oliver.epper@gmail.com>2024-02-07 16:38:11 +0000
committerDanilo G. Baio <dbaio@FreeBSD.org>2024-02-26 23:55:24 +0000
commitdf4729f3c0e9dcc0660c1ae81baeb40b1cb46566 (patch)
tree63a638a7af72dc96f1feb0202643e6a5ea7d378b /documentation/content
parent6c22757c37c0cdef19b135d7da52efd28e50b1b5 (diff)
downloaddoc-df4729f3c0e9dcc0660c1ae81baeb40b1cb46566.tar.gz
doc-df4729f3c0e9dcc0660c1ae81baeb40b1cb46566.zip
Diffstat (limited to 'documentation/content')
-rw-r--r--documentation/content/en/books/handbook/jails/_index.adoc12
1 files changed, 8 insertions, 4 deletions
diff --git a/documentation/content/en/books/handbook/jails/_index.adoc b/documentation/content/en/books/handbook/jails/_index.adoc
index 7d928583b2..e6905fc162 100644
--- a/documentation/content/en/books/handbook/jails/_index.adoc
+++ b/documentation/content/en/books/handbook/jails/_index.adoc
@@ -250,11 +250,15 @@ There are two ways to configure jails.
The first one is to add an entry for each jail to the file [.filename]#/etc/jail.conf#.
The other option is to create a file for each jail in the directory [.filename]#/etc/jail.conf.d/#.
-There is no right or wrong option.
-Each administrator must choose the one that best suits their needs.
-
In case a host system has few jails, an entry for each jail can be added in the file [.filename]#/etc/jail.conf#.
-If the host system has many jails, it is good idea to have one configuration file for each jail in the [.filename]#/etc/jail.conf.d/# directory.
+If the host system has many jails, it is a good idea to have one configuration file for each jail in the [.filename]#/etc/jail.conf.d/# directory.
+
+The files in [.filename]#/etc/jail.conf.d/# must have `.conf` as their extension and have to be included in [.filename]#/etc/jail.conf#:
+
+[.programmlisting]
+....
+.include "/etc/jail.conf.d/*.conf";
+....
A typical jail entry would look like this: