summaryrefslogtreecommitdiff
path: root/man5
diff options
context:
space:
mode:
Diffstat (limited to 'man5')
-rwxr-xr-xman5/ezjail.546
1 files changed, 13 insertions, 33 deletions
diff --git a/man5/ezjail.5 b/man5/ezjail.5
index 49fd0c6..f147ea9 100755
--- a/man5/ezjail.5
+++ b/man5/ezjail.5
@@ -11,44 +11,24 @@ effort and aims for minimum system resource usage.
11If you are not familiar with the FreeBSD jail concept, please refer to 11If you are not familiar with the FreeBSD jail concept, please refer to
12jail(8) before continuing. 12jail(8) before continuing.
13.SH OVERVIEW 13.SH OVERVIEW
14One 14One \fIbase jail\fR is filled with most userland binaries and libraries and
15.I base jail 15then mounted read only into a number of stripped down jails via
16is filled with most userland binaries and libraries and then mounted 16.B mount_nullfs(8)\fR - thus saving lots of inodes and memory resources.
17read only into a number of stripped down jails via
18.B mount_nullfs(8)
19- thus saving lots of inodes and memory resources.
20.SH INVOCATION 17.SH INVOCATION
21The ezjail script 18The ezjail script \fBEZJAIL_PREFIX/etc/rc.d/ezjail.sh\fR takes parameters \fIstart,
22.B EZJAIL_PREFIX/etc/rc.d/ezjail.sh 19startcrypto, restart\fR and \fIstop\fR. It may be passed an additional list of
23takes parameters 20jails. If no jail name is specified (usually when the script is being called by
24.I start, startcrypto, restart 21rc.local at boot and shutdown time), all jails in ezjails scope, except crypto
25and 22image jails (or jails marked as blocking), are being started/stopped. To start
26.I stop. 23all crytpo image jails (or those depending on them), use the \fIstartcrypto\fR parameter.
27It may be passed an additional list of jails. If no jail name is
28specified (usually when the script is being called by rc.local at boot
29and shutdown time), all jails in ezjails scope, except crypto image
30jails (or jails marked as blocking), are being started/stopped. To
31start all crytpo image jails (or those depending on them), use the
32.I startcrypto
33parameter.
34 24
35The script examines its config, attaches and mounts images, sets 25The script examines its config, attaches and mounts images, sets
36variables for each jail in the jail_list before passing its command on 26variables for each jail in the jail_list before passing its command on
37to the 27to the \fB/etc/rc.d/jail\fR script.
38.B /etc/rc.d/jail
39script.
40.SH NOTES 28.SH NOTES
41.B ezjail.sh 29.B ezjail.sh\fR enforces the execution of \fB/etc/rc.d/jail\fR, by
42enforces the execution of 30prepending \fI"one"\fR to the start, restart and stop commands so it is
43.B /etc/rc.d/jail, 31.B NOT NECESSARY\fR to set \fIjail_enable\fR in the \fB/etc/rc.conf\fR
44by prepending
45.I "one"
46to the start, restart and stop commands so it is
47.B NOT NECESSARY
48to set
49.I jail_enable
50in the
51.B /etc/rc.conf
52config file. 32config file.
53.SH FILES 33.SH FILES
54EZJAIL_PREFIX/etc/ezjail.conf 34EZJAIL_PREFIX/etc/ezjail.conf