diff options
author | erdgeist <> | 2013-03-13 13:38:48 +0000 |
---|---|---|
committer | erdgeist <> | 2013-03-13 13:38:48 +0000 |
commit | 914f8f0063d7ea93a7689fa5ccc33222af557752 (patch) | |
tree | c058f06e21305cdd5304c8be0a1b06d7282cfd85 /man1 | |
parent | c0004004f9f20a26d030a3d82b90cd1329a7f819 (diff) |
Explain -R option. Also clarify that the pidfile location in the example is the default
Diffstat (limited to 'man1')
-rw-r--r-- | man1/jaildaemon.1 | 15 |
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 | |||
84 | and multiple invocations of possibly non-reentrant scripts, probe processes | 84 | and multiple invocations of possibly non-reentrant scripts, probe processes |
85 | kill themselves after receiving the HUP signal. Respawning is meant as an | 85 | kill themselves after receiving the HUP signal. Respawning is meant as an |
86 | option for commands that do not shut down the jail. | 86 | option for commands that do not shut down the jail. |
87 | .It Fl R | ||
88 | Just like the | ||
89 | .Fl r | ||
90 | option, only the | ||
91 | .Nm | ||
92 | daemon does not wait for the | ||
93 | .Ar command | ||
94 | to complete before re-spawning the probe process. | ||
95 | .Pp | ||
96 | Use this option only if you know, what you're doing. Most shell scripts are | ||
97 | not re-entrant, even if their authors think so and most programs that run | ||
98 | long enough should not be started twice with identical parameters. | ||
87 | .El | 99 | .El |
88 | .Pp | 100 | .Pp |
89 | Exactly one of the | 101 | Exactly 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 |
106 | Start the daemon and write the daemon's pid to the file | 118 | Start 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 |
110 | When the | 123 | When the |