jail.8: Fix formatting of synopsis and some code examples

MFC after:	3 days
This commit is contained in:
Mateusz Piotrowski 2022-07-18 13:38:00 +02:00
parent aa35037ba5
commit 203be0938d

View File

@ -25,7 +25,7 @@
.\" .\"
.\" $FreeBSD$ .\" $FreeBSD$
.\" .\"
.Dd June 27, 2022 .Dd July 18, 2022
.Dt JAIL 8 .Dt JAIL 8
.Os .Os
.Sh NAME .Sh NAME
@ -58,7 +58,8 @@
.Op Fl U Ar username .Op Fl U Ar username
.Op Fl n Ar jailname .Op Fl n Ar jailname
.Op Fl s Ar securelevel .Op Fl s Ar securelevel
.Ar path hostname ip Ns [ Ns Ar ,... Ns ] Ar command ... .Ar path hostname ip Ns Op Cm \&, Ns Ar ...
.Ar command ...
.Nm .Nm
.Op Fl f Ar conf_file .Op Fl f Ar conf_file
.Fl e .Fl e
@ -941,7 +942,7 @@ To set up a jail directory tree containing an entire
distribution, the following distribution, the following
.Xr sh 1 .Xr sh 1
command script can be used: command script can be used:
.Bd -literal .Bd -literal -offset indent
D=/here/is/the/jail D=/here/is/the/jail
cd /usr/src cd /usr/src
mkdir -p $D mkdir -p $D
@ -1195,9 +1196,11 @@ the intended use of the jail, you may also want to run
.Pa /etc/rc.shutdown .Pa /etc/rc.shutdown
from within the jail. from within the jail.
.Pp .Pp
To shut down the jail from the outside, simply remove it with To shut down the jail from the outside, simply remove it with:
.Nm .Bd -literal -offset indent
.Ar -r , jail -r
.Ed
.Pp
which will run any commands specified by which will run any commands specified by
.Va exec.stop , .Va exec.stop ,
and then send and then send