/etc/direvent.conf is in direvent 5.1-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 | # This is the configuration file for direvent. Read
# direvent.conf(5) for more information about how to
# fill this file.
# The following block statement declares a watcher
#watcher {
# path pathname [recursive [level]];
# file pattern-list;
# event event-list;
# command command-line;
# user name;
# timeout number;
# environ env-spec;
# option string-list;
#}
# An example of use where test.sh has:
# #!/bin/bash
# /bin/echo "Hello, this is a test of direvent" > /tmp/test.txt
#watcher {
# path /home/user;
# event create;
# command "/tmp/test.sh";
#}
|