|
Revision 70f6c473dd021bcdcc1f0b09c2c74b7cc5e9e509, 449 bytes
(checked in by Sebastien Martini <ookoi@…>, 6 months ago)
|
|
Ability to exclude a path from being watched as soons as it has been
matched by a given defined regexp pattern.
|
-
Property mode set to
100644
|
| Line | |
|---|
| 1 | # -*- mode: python; -*- |
|---|
| 2 | |
|---|
| 3 | # Patterns can use unrestricted regexps (see re module) |
|---|
| 4 | # regexps are matched against submitted paths through match() |
|---|
| 5 | |
|---|
| 6 | excl_lst1 = ['^/etc/apache[2]?/', |
|---|
| 7 | '^/etc/rc.*', |
|---|
| 8 | '^/etc/hostname', |
|---|
| 9 | '^/etc/hosts', |
|---|
| 10 | '^/etc/(fs|m)tab', |
|---|
| 11 | '^/etc/cron\..*'] |
|---|
| 12 | |
|---|
| 13 | excl_lst2 = ['^/var/log/.*', |
|---|
| 14 | '^/var/www/.*', |
|---|
| 15 | '^/var/cache/.*', |
|---|
| 16 | '^/var/spool/.*'] |
|---|