summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorerdgeist <erdgeist@erdgeist.org>2013-09-01 13:36:22 +0000
committererdgeist <erdgeist@erdgeist.org>2013-09-01 13:36:22 +0000
commit27216be05a9f646706593f779f9081486d389807 (patch)
treeeb4d8ce90fd6b47b8adb36299c88f84f17d27f5d
parentb267b62dad37368e15dfe4c7978dd808785e4f95 (diff)
Make the ezjail-admin config -r test hack official
-rw-r--r--man8/ezjail-admin.810
1 files changed, 6 insertions, 4 deletions
diff --git a/man8/ezjail-admin.8 b/man8/ezjail-admin.8
index 2220152..72ef892 100644
--- a/man8/ezjail-admin.8
+++ b/man8/ezjail-admin.8
@@ -31,7 +31,7 @@
31.Cm start | stop | restart | startcrypto | stopcrypto Ar jailname... 31.Cm start | stop | restart | startcrypto | stopcrypto Ar jailname...
32.Nm 32.Nm
33.Cm config 33.Cm config
34.Op Fl r Ar run | norun 34.Op Fl r Ar run | norun | test
35.Op Fl n Ar newname 35.Op Fl n Ar newname
36.Op Fl i Ar attach | detach | fsck 36.Op Fl i Ar attach | detach | fsck
37.Op Fl z Ar newdataset 37.Op Fl z Ar newdataset
@@ -146,7 +146,7 @@ see the
146sub-command for this. 146sub-command for this.
147.El 147.El
148.Ss Nm Cm create 148.Ss Nm Cm create
149Create a new jail inside ezjail's scope. It either copies the new jail 149Create a new jail inside ezjail's scope. It either copies the new jail
150directory tree template or an ezjail archive directory tree to new jail root 150directory tree template or an ezjail archive directory tree to new jail root
151directory, 151directory,
152.Pa /usr/jails/ Ns Ar jailname 152.Pa /usr/jails/ Ns Ar jailname
@@ -419,8 +419,10 @@ the jail is restarted.
419.Pp 419.Pp
420The following options are available: 420The following options are available:
421.Bl -tag -width indent 421.Bl -tag -width indent
422.It Fl r Cm run | norun 422.It Fl r Cm run | norun | test
423Set the jail to be automatically started or not on boot. 423Set the jail to be automatically started or not on boot.
424
425Note that the test parameter can be used to check if an ezjail exists, in this case the script will return with an exit code of zero and the runnable state on standard out. A non-zero exit code will be returned if the jail does not exist.
424.It Fl n Ar newname 426.It Fl n Ar newname
425Rename the jail. Unless a custom root directory was given with the 427Rename the jail. Unless a custom root directory was given with the
426.Fl r 428.Fl r
@@ -628,4 +630,4 @@ The man page is based on a draft by
628.Aq joeb1@a1poweruser.com 630.Aq joeb1@a1poweruser.com
629and was rewritten by 631and was rewritten by
630.An Frederic Perrin 632.An Frederic Perrin
631.Aq frederic.perrin@resel.fr . \ No newline at end of file 633.Aq frederic.perrin@resel.fr .