diff options
-rwxr-xr-x | man5/ezjail.5 | 34 |
1 files changed, 24 insertions, 10 deletions
diff --git a/man5/ezjail.5 b/man5/ezjail.5 index 77725e8..a3a4498 100755 --- a/man5/ezjail.5 +++ b/man5/ezjail.5 | |||
@@ -18,20 +18,34 @@ read only into a number of stripped down jails via | |||
18 | .B mount_nullfs(8) | 18 | .B mount_nullfs(8) |
19 | - thus saving lots of inodes and memory resources. | 19 | - thus saving lots of inodes and memory resources. |
20 | 20 | ||
21 | The ezjail rc script examines its config directory, sets variables | 21 | .SH INVOCATION |
22 | .I jail_list | 22 | The ezjail script |
23 | and the corresponding config variables for each jail before passing all | 23 | .B EZJAIL_PREFIX/etc/rc.d/ezjail.sh |
24 | commands on to the | 24 | takes parameters |
25 | .I start, restart | ||
26 | and | ||
27 | .I stop. | ||
28 | It may be passed an additional list of jails. If no jail name is | ||
29 | specified (usually when the script is being called by rc.local at boot | ||
30 | and shutdown time), all jails in ezjails config directory are being | ||
31 | started/stopped. | ||
32 | |||
33 | The script then examines its config directory, sets config variables | ||
34 | for each jail in the jail_list before passing its command on to the | ||
25 | .B /etc/rc.d/jail | 35 | .B /etc/rc.d/jail |
26 | script. | 36 | script. |
37 | .SH NOTES | ||
27 | .B ezjail | 38 | .B ezjail |
28 | sets the | 39 | enforces the execution of |
29 | .I jail_enable | ||
30 | variable to the content of | ||
31 | .I ezjail_enable | ||
32 | before calling | ||
33 | .B /etc/rc.d/jail, | 40 | .B /etc/rc.d/jail, |
34 | so it is not necessary to enable jails in the | 41 | by adding the option |
42 | .I one | ||
43 | to the start, restart and stop commands | ||
44 | so it is | ||
45 | .B NOT NECESSARY | ||
46 | to set | ||
47 | .I jail_enable | ||
48 | in the | ||
35 | .B /etc/rc.conf | 49 | .B /etc/rc.conf |
36 | config file. | 50 | config file. |
37 | .SH FILES | 51 | .SH FILES |