From 914f8f0063d7ea93a7689fa5ccc33222af557752 Mon Sep 17 00:00:00 2001 From: erdgeist <> Date: Wed, 13 Mar 2013 13:38:48 +0000 Subject: Explain -R option. Also clarify that the pidfile location in the example is the default --- man1/jaildaemon.1 | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) 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 @@ .Op Fl f Ar ipcsockpath .Nm .Cm Fl c Ar command Fl j Ar jid -.Op Fl r +.Op Fl rR .Op Fl t Ar proctitle .Op Fl f Ar ipcsockpath .Sh DESCRIPTION @@ -84,6 +84,18 @@ By default all commands start single shot processes; to avoid race conditions and multiple invocations of possibly non-reentrant scripts, probe processes kill themselves after receiving the HUP signal. Respawning is meant as an option for commands that do not shut down the jail. +.It Fl R +Just like the +.Fl r +option, only the +.Nm +daemon does not wait for the +.Ar command +to complete before re-spawning the probe process. +.Pp +Use this option only if you know, what you're doing. Most shell scripts are +not re-entrant, even if their authors think so and most programs that run +long enough should not be started twice with identical parameters. .El .Pp Exactly one of the @@ -105,6 +117,7 @@ script on boot time. Invoke the daemon by hand using this command: .It Nm Fl D Fl p Ar /var/run/jaildaemon.pid Start the daemon and write the daemon's pid to the file .Ar /var/run/jaildaemon.pid . +(This is the default pid file location.) .El .Ss Running the utility When the -- cgit v1.2.3