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