aboutsummaryrefslogtreecommitdiff
path: root/doc/direvent.8
diff options
context:
space:
mode:
Diffstat (limited to 'doc/direvent.8')
-rw-r--r--doc/direvent.87
1 files changed, 6 insertions, 1 deletions
diff --git a/doc/direvent.8 b/doc/direvent.8
index 03644ff..0d7f73f 100644
--- a/doc/direvent.8
+++ b/doc/direvent.8
@@ -10,13 +10,13 @@
.\" but WITHOUT ANY WARRANTY; without even the implied warranty of
.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
.\" GNU General Public License for more details.
.\"
.\" You should have received a copy of the GNU General Public License along
.\" with direvent. If not, see <http://www.gnu.org/licenses/>.
-.TH DIREVENT 8 "June 20, 2016" "DIREVENT" "Direvent User Reference"
+.TH DIREVENT 8 "August 25, 2016" "DIREVENT" "Direvent User Reference"
.SH NAME
direvent \- directory event monitor
.SH SYNOPSIS
\fBdirevent\fR [\fB\-HVdfh\fR] [\fB\-F\fR \fINAME\fR]\
[\fB\-P\fR \fIFILE\fR]\
[\fB\-l\fR \fIPRIO\fR]\
@@ -252,12 +252,17 @@ the \fICOMMAND\-LINE\fR will be executed.
Each directory defined with the \fBrecursive\fR keyword will be
watched recursively. This means that for each subdirectory created in
it, \fBdirevent\fR will install a watcher similar to that of its parent
directory. The optional \fILEVEL\fR can be used to set up a cut-off
nesting level, beyond which the recursive operation is disabled.
.PP
+The \fIPATHNAME\fR is not required to be a directory, it can as well
+be a file of any type. This file is not required to exist, either. If
+it does not, \fBdirevent\fR will defer configuring the watcher until
+the file is eventually created.
+.PP
The rest of statements are optional. The \fBuser\fR statement can be
used to execute the \fICOMMAND\-LINE\fR as the user \fINAME\fR
(provided, of course, that \fBdirevent\fR is started with root
privileges). The \fBtimeout\fR specifies the maximum amount of time
(in seconds) the command is allowed to run. It defaults to 5. The
\fBenviron\fR statement modifies the command environment (see the

Return to:

Send suggestions and report system problems to the System administrator.