summaryrefslogtreecommitdiff
path: root/doc/dropnroll.8.txt
diff options
context:
space:
mode:
Diffstat (limited to 'doc/dropnroll.8.txt')
-rw-r--r--doc/dropnroll.8.txt21
1 files changed, 19 insertions, 2 deletions
diff --git a/doc/dropnroll.8.txt b/doc/dropnroll.8.txt
index e9e4b86..0a8993d 100644
--- a/doc/dropnroll.8.txt
+++ b/doc/dropnroll.8.txt
@@ -19,9 +19,11 @@ dropnroll
[ -C|--chroot <path> ]
[ -P|--write-pid <filename> ]
[ -L|--log <target>:<level>[,<param1>[,<param2>[..]]] ]
+ [ -U|--debug ]
[ -s|--command-sock <unix sock> ]
[ -x|--script <script> ]
[ -m|--max-children <#of children> ]
+ [ -p|--children-policy (defer|drop|kill-oldest) ]
[ -d|--dir <path> ]
....
@@ -76,9 +78,17 @@ The following options can be passed to the *dropnroll* daemon:
'stdout';; log to standard output, parameters <level>
'stderr';; log to standard error, parameters <level>
+*-U, --debug*::
+ This option instructs *dropnroll* to run in debug mode. It implicits *-D*
+ (don't daemonize) and adds a log target with the configuration
+ 'stdout:5' (logging with maximum level). In future releases there might
+ be additional output when this option is supplied.
+
*-s|--command-sock '<unix sock>'*::
*dropnroll* will listen on this unix socket for incoming commands. See next
- chapter for details. The default is /var/run/dropnroll/cmd.sock
+ chapter for details. If there are directories specified using the *--dir*
+ option and this is kept empty the command socket is deactivated. If no directories
+ are added it defaults to /var/run/dropnroll/cmd.sock
*-x|--script '<script>'*::
The script which should be called when a new file is found. The following parameter
@@ -94,6 +104,13 @@ The following options can be passed to the *dropnroll* daemon:
*-m|--max-children '<#of children>'*::
Limits the total concurrent executions of *-x|--script*. A value of 0 means no limit.
+*-p|--children-policy '(defer|drop|kill-oldest)'*::
+ Specifies what *dropnroll* should do when the client limit has been reached:
+
+ 'defer';; defer the execution of *--script* until the number of children is below the limit
+ 'drop';; ingore the new file and don't call *--script*
+ 'kill-oldest';; kill the oldest child (using SIGKILL)
+
*-d|--dir '<path>'*::
Add '<path>' to the watch list. This can be invoked serveral times.
@@ -120,7 +137,7 @@ All commands have to end with '\n'. The following commands are supported:
*status*::
Returns the complete list of all directories of the watch list.
-*listen [request|status|none]*::
+*listen (request|status|none)*::
Add the client to the status and or request listeners. When no parameter is passed to
this command the client listens to all messages.
A status listener gets a list of all directories whenever somebody else adds or removes