From 8092a428d40ac682df9e80c36988043854579679 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Thu, 7 Jul 2011 02:07:39 +0200 Subject: path,unit: support globbing in conditions and path units --- man/systemd.path.xml | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) (limited to 'man/systemd.path.xml') diff --git a/man/systemd.path.xml b/man/systemd.path.xml index e816c3018c..f99931ab1e 100644 --- a/man/systemd.path.xml +++ b/man/systemd.path.xml @@ -111,6 +111,7 @@ PathExists= + PathExistsGlob= PathChanged= DirectoryNotEmpty= @@ -121,7 +122,11 @@ file or directory. If the file specified exists the configured unit is - activated. PathChanged= + activated. PathExistsGlob= + works similar, but checks for the + existance of at least one file + matching the globbing pattern + specified. PathChanged= may be used to watch a file or directory and activate the configured unit whenever it changes or is @@ -140,12 +145,13 @@ If a path is already existing (in case of - PathExists=) or a - directory already is not empty (in + PathExists= and + PathExistsGlob=) or + a directory already is not empty (in case of DirectoryNotEmpty=) - at the time the path unit is activated, - then the configured unit is + at the time the path unit is + activated, then the configured unit is immediately activated as well. Something similar does not apply to PathChanged=. -- cgit v1.2.3-54-g00ecf