Last cleanups before committing
This commit is contained in:
parent
75b1c05894
commit
709e87e5dc
@ -1,7 +1,7 @@
|
|||||||
# ezjail.conf - Example file, see ezjail(x)
|
# ezjail.conf - Example file, see ezjail.conf(5)
|
||||||
#
|
#
|
||||||
# Note: If you alter some of those variables AFTER creating your first
|
# Note: If you alter some of those variables AFTER creating your first
|
||||||
# jail, you may have to adapt /etc/fstab.* and ${PREFIX}/etc/ezjail/* by
|
# jail, you may have to adapt /etc/fstab.* and EZJAIL_PREFIX/etc/ezjail/* by
|
||||||
# hand
|
# hand
|
||||||
|
|
||||||
# Location of jail root directories
|
# Location of jail root directories
|
||||||
|
@ -4,13 +4,13 @@
|
|||||||
#
|
#
|
||||||
# PROVIDE: ezjail
|
# PROVIDE: ezjail
|
||||||
#
|
#
|
||||||
# Note: Add the following lines to $PREFIX/etc/rc.conf to enable ezjail,
|
# Note: Add the following lines to /etc/rc.conf to enable ezjail,
|
||||||
#
|
#
|
||||||
#ezjail_enable="YES"
|
#ezjail_enable="YES"
|
||||||
#
|
#
|
||||||
# Please do not change this file, configure in $PREFIX/etc/ezjail.conf
|
# Please do not change this file, configure in EZJAIL_PREFIX/etc/ezjail.conf
|
||||||
|
|
||||||
# ugly: this variable will be set on port install time
|
# ugly: this variable is set on port install time
|
||||||
ezjail_prefix=EZJAIL_PREFIX
|
ezjail_prefix=EZJAIL_PREFIX
|
||||||
|
|
||||||
. /etc/rc.subr
|
. /etc/rc.subr
|
||||||
|
@ -38,23 +38,24 @@ in situations where you just want to alter some of a jail properties and
|
|||||||
called ezjail-admin delete without the -w option before. However, sanity
|
called ezjail-admin delete without the -w option before. However, sanity
|
||||||
checks are being performed.
|
checks are being performed.
|
||||||
|
|
||||||
It then creates an entry in its /etc/ezjail directory allowing the
|
It then creates an entry in its etc/ezjail/ resource directory allowing
|
||||||
jail to be brought up after next reboot.
|
the jail to be brought up after next reboot.
|
||||||
|
|
||||||
If the ezjail_mount_enable option is set, a /etc/fstab.hostname is
|
If the ezjail_mount_enable option is set, a /etc/fstab.hostname is
|
||||||
generated, allowing the basejail to be auto-mounted when the jail starts
|
generated, allowing the basejail to be auto-mounted when the jail starts
|
||||||
up.
|
up.
|
||||||
|
|
||||||
Options for newly created jails are read from ezjail.conf, refer to
|
Options for newly created jails are read from
|
||||||
ezjail.conf(5) for more information.
|
.B ezjail.conf,
|
||||||
|
refer to ezjail.conf(5) for more information.
|
||||||
.SH ezjail-admin delete
|
.SH ezjail-admin delete
|
||||||
removes a jail from ezjails /etc/ezjail resource directory thus preventing
|
removes a jail from ezjails etc/ezjail/ resource directory thus preventing
|
||||||
it from being brought up on next reboot.
|
it from being brought up on next reboot.
|
||||||
|
|
||||||
It then removes the /etc/fstab.hostname entry, if it exists.
|
It then removes the /etc/fstab.hostname entry, if it exists.
|
||||||
|
|
||||||
If the -w (wipe) option is given, the directory pointed to by the jail
|
If the -w (wipe) option is given, the directory pointed to by the jail
|
||||||
root entry is removed as well as the soft link, if necessary.
|
root entry is removed as well as the soft link in ezjails root dir.
|
||||||
.SH ezjail-admin list
|
.SH ezjail-admin list
|
||||||
lists all jails inside ezjails scope, together with some information on
|
lists all jails inside ezjails scope, together with some information on
|
||||||
them.
|
them.
|
||||||
|
@ -17,7 +17,6 @@ is filled with most userland binaries and libraries and then mounted
|
|||||||
read only into a number of stripped down jails via
|
read only into a number of stripped down jails via
|
||||||
.B mount_nullfs(8)
|
.B mount_nullfs(8)
|
||||||
- thus saving lots of inodes and memory resources.
|
- thus saving lots of inodes and memory resources.
|
||||||
|
|
||||||
.SH INVOCATION
|
.SH INVOCATION
|
||||||
The ezjail script
|
The ezjail script
|
||||||
.B EZJAIL_PREFIX/etc/rc.d/ezjail.sh
|
.B EZJAIL_PREFIX/etc/rc.d/ezjail.sh
|
||||||
|
Loading…
x
Reference in New Issue
Block a user