summaryrefslogtreecommitdiffstats
path: root/usr.sbin/jail
diff options
context:
space:
mode:
authorbrueffer <brueffer@FreeBSD.org>2005-08-07 20:53:29 +0000
committerbrueffer <brueffer@FreeBSD.org>2005-08-07 20:53:29 +0000
commit358e47e63b2597550e5f687fe4fdcb3be57af7ce (patch)
tree1d656a95171d7710678452c1b098fb1c1d27a914 /usr.sbin/jail
parentb76640a2db08c891ab3ca5b878f5d37743cfaaca (diff)
downloadFreeBSD-src-358e47e63b2597550e5f687fe4fdcb3be57af7ce.zip
FreeBSD-src-358e47e63b2597550e5f687fe4fdcb3be57af7ce.tar.gz
Add some more info about jail startup and shutdown.
Submitted by: Jeremie Le Hen <jeremie@le-hen.org> MFC after: 3 days
Diffstat (limited to 'usr.sbin/jail')
-rw-r--r--usr.sbin/jail/jail.824
1 files changed, 17 insertions, 7 deletions
diff --git a/usr.sbin/jail/jail.8 b/usr.sbin/jail/jail.8
index 698ce06..53e9d36 100644
--- a/usr.sbin/jail/jail.8
+++ b/usr.sbin/jail/jail.8
@@ -33,7 +33,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd June 9, 2005
+.Dd August 7, 2005
.Dt JAIL 8
.Os
.Sh NAME
@@ -348,12 +348,6 @@ and other processes running within the jail using
with the
.Ql J
flag appearing beside jailed processes.
-It is possible to have jails started at boot time.
-Look at the
-.Xr rc.conf 5
-manual page for
-.Dq jail_*
-variables for more information.
To see an active list of jails, use the
.Xr jls 8
utility.
@@ -361,6 +355,22 @@ You should also be able to
.Xr telnet 1
to the hostname or IP address of the jailed environment, and log
in using the accounts you created previously.
+.Pp
+It is possible to have jails started at boot time.
+Please refer to the
+.Dq jail_*
+variables in
+.Xr rc.conf 5
+for more information.
+The
+.Xr rc 8
+jail script provides a flexible system to start/stop jails:
+.Bd -literal
+/etc/rc.d/jail start
+/etc/rc.d/jail stop
+/etc/rc.d/jail start myjail
+/etc/rc.d/jail stop myjail
+.Ed
.Ss "Managing the Jail"
Normal machine shutdown commands, such as
.Xr halt 8 ,
OpenPOWER on IntegriCloud