Add some more info about jail startup and shutdown.

Submitted by:	Jeremie Le Hen <jeremie@le-hen.org>
MFC after:	3 days
This commit is contained in:
Christian Brueffer 2005-08-07 20:53:29 +00:00
parent edd04c6f2b
commit 23fe4fa258

View File

@ -33,7 +33,7 @@
.\" .\"
.\" $FreeBSD$ .\" $FreeBSD$
.\" .\"
.Dd June 9, 2005 .Dd August 7, 2005
.Dt JAIL 8 .Dt JAIL 8
.Os .Os
.Sh NAME .Sh NAME
@ -348,12 +348,6 @@ and other processes running within the jail using
with the with the
.Ql J .Ql J
flag appearing beside jailed processes. 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 To see an active list of jails, use the
.Xr jls 8 .Xr jls 8
utility. utility.
@ -361,6 +355,22 @@ You should also be able to
.Xr telnet 1 .Xr telnet 1
to the hostname or IP address of the jailed environment, and log to the hostname or IP address of the jailed environment, and log
in using the accounts you created previously. 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" .Ss "Managing the Jail"
Normal machine shutdown commands, such as Normal machine shutdown commands, such as
.Xr halt 8 , .Xr halt 8 ,