Date: Thu, 21 Jul 2022 23:57:45 GMT From: Mateusz Piotrowski <0mp@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org Subject: git: aaa852b8d76b - stable/13 - jail.8: Fix formatting of synopsis and some code examples Message-ID: <202207212357.26LNvjIE035067@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch stable/13 has been updated by 0mp (doc, ports committer): URL: https://cgit.FreeBSD.org/src/commit/?id=aaa852b8d76b6c6519aea8dd357e18654dc14132 commit aaa852b8d76b6c6519aea8dd357e18654dc14132 Author: Mateusz Piotrowski <0mp@FreeBSD.org> AuthorDate: 2022-07-18 11:38:00 +0000 Commit: Mateusz Piotrowski <0mp@FreeBSD.org> CommitDate: 2022-07-21 23:56:26 +0000 jail.8: Fix formatting of synopsis and some code examples MFC after: 3 days (cherry picked from commit 203be0938dc5e1bd46b028f72077f8531e98a6cd) --- usr.sbin/jail/jail.8 | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/usr.sbin/jail/jail.8 b/usr.sbin/jail/jail.8 index 61fe91cf973e..28c1b45d9d38 100644 --- a/usr.sbin/jail/jail.8 +++ b/usr.sbin/jail/jail.8 @@ -25,7 +25,7 @@ .\" .\" $FreeBSD$ .\" -.Dd April 4, 2021 +.Dd July 18, 2022 .Dt JAIL 8 .Os .Sh NAME @@ -58,7 +58,8 @@ .Op Fl U Ar username .Op Fl n Ar jailname .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 .Op Fl f Ar conf_file .Fl e @@ -941,7 +942,7 @@ To set up a jail directory tree containing an entire distribution, the following .Xr sh 1 command script can be used: -.Bd -literal +.Bd -literal -offset indent D=/here/is/the/jail cd /usr/src mkdir -p $D @@ -1200,9 +1201,11 @@ the intended use of the jail, you may also want to run .Pa /etc/rc.shutdown from within the jail. .Pp -To shut down the jail from the outside, simply remove it with -.Nm -.Ar -r , +To shut down the jail from the outside, simply remove it with: +.Bd -literal -offset indent +jail -r +.Ed +.Pp which will run any commands specified by .Va exec.stop , and then send
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202207212357.26LNvjIE035067>