summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorerdgeist <>2013-03-13 13:38:48 +0000
committererdgeist <>2013-03-13 13:38:48 +0000
commit914f8f0063d7ea93a7689fa5ccc33222af557752 (patch)
treec058f06e21305cdd5304c8be0a1b06d7282cfd85
parentc0004004f9f20a26d030a3d82b90cd1329a7f819 (diff)
Explain -R option. Also clarify that the pidfile location in the example is the default
-rw-r--r--man1/jaildaemon.115
1 files changed, 14 insertions, 1 deletions
diff --git a/man1/jaildaemon.1 b/man1/jaildaemon.1
index a590047..2d5f654 100644
--- a/man1/jaildaemon.1
+++ b/man1/jaildaemon.1
@@ -11,7 +11,7 @@
11.Op Fl f Ar ipcsockpath 11.Op Fl f Ar ipcsockpath
12.Nm 12.Nm
13.Cm Fl c Ar command Fl j Ar jid 13.Cm Fl c Ar command Fl j Ar jid
14.Op Fl r 14.Op Fl rR
15.Op Fl t Ar proctitle 15.Op Fl t Ar proctitle
16.Op Fl f Ar ipcsockpath 16.Op Fl f Ar ipcsockpath
17.Sh DESCRIPTION 17.Sh DESCRIPTION
@@ -84,6 +84,18 @@ By default all commands start single shot processes; to avoid race conditions
84and multiple invocations of possibly non-reentrant scripts, probe processes 84and multiple invocations of possibly non-reentrant scripts, probe processes
85kill themselves after receiving the HUP signal. Respawning is meant as an 85kill themselves after receiving the HUP signal. Respawning is meant as an
86option for commands that do not shut down the jail. 86option for commands that do not shut down the jail.
87.It Fl R
88Just like the
89.Fl r
90option, only the
91.Nm
92daemon does not wait for the
93.Ar command
94to complete before re-spawning the probe process.
95.Pp
96Use this option only if you know, what you're doing. Most shell scripts are
97not re-entrant, even if their authors think so and most programs that run
98long enough should not be started twice with identical parameters.
87.El 99.El
88.Pp 100.Pp
89Exactly one of the 101Exactly one of the
@@ -105,6 +117,7 @@ script on boot time. Invoke the daemon by hand using this command:
105.It Nm Fl D Fl p Ar /var/run/jaildaemon.pid 117.It Nm Fl D Fl p Ar /var/run/jaildaemon.pid
106Start the daemon and write the daemon's pid to the file 118Start the daemon and write the daemon's pid to the file
107.Ar /var/run/jaildaemon.pid . 119.Ar /var/run/jaildaemon.pid .
120(This is the default pid file location.)
108.El 121.El
109.Ss Running the utility 122.Ss Running the utility
110When the 123When the