summaryrefslogtreecommitdiff
path: root/man/systemd.path.xml
diff options
context:
space:
mode:
authorMichal Schmidt <mschmidt@redhat.com>2011-12-03 10:22:26 +0100
committerMichal Schmidt <mschmidt@redhat.com>2011-12-03 13:58:21 +0100
commite92238567b9fc83ef77e359588d7b005ecae3d70 (patch)
tree4d3668aaedd2fe2651a3a512e151f904e71fc39b /man/systemd.path.xml
parent4b562198c79e4ebfc3d84b69a1dae374bc6cf9f5 (diff)
path: add PathModified (= PathChanged + IN_MODIFY)
Diffstat (limited to 'man/systemd.path.xml')
-rw-r--r--man/systemd.path.xml17
1 files changed, 10 insertions, 7 deletions
diff --git a/man/systemd.path.xml b/man/systemd.path.xml
index 10d8f73004..5b1ff75f7a 100644
--- a/man/systemd.path.xml
+++ b/man/systemd.path.xml
@@ -113,6 +113,7 @@
<term><varname>PathExists=</varname></term>
<term><varname>PathExistsGlob=</varname></term>
<term><varname>PathChanged=</varname></term>
+ <term><varname>PathModified=</varname></term>
<term><varname>DirectoryNotEmpty=</varname></term>
<listitem><para>Defines paths to
@@ -129,8 +130,14 @@
specified. <varname>PathChanged=</varname>
may be used to watch a file or
directory and activate the configured
- unit whenever it changes or is
- modified. <varname>DirectoryNotEmpty=</varname>
+ unit whenever it changes. It is not activated
+ on every write to the watched file but it is
+ activated if the file which was open for writing
+ gets closed. <varname>PathModified=</varname>
+ is similar, but additionally it is activated
+ also on simple writes to the watched file.
+
+ <varname>DirectoryNotEmpty=</varname>
may be used to watch a directory and
activate the configured unit whenever
it contains at least one file.</para>
@@ -154,11 +161,7 @@
activated, then the configured unit is
immediately activated as
well. Something similar does not apply
- to
- <varname>PathChanged=</varname>. The
- latter is not activated on simple
- writes but only if files with were
- opened for writing are closed.
+ to <varname>PathChanged=</varname>.
</para></listitem>
</varlistentry>
<varlistentry>