From 0e456f978134100d2e0cc28c7205b3abefcc9cde Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Sun, 10 Apr 2011 01:30:14 +0200 Subject: path: optionally, create watched directories in .path units --- src/load-fragment.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/load-fragment.c') diff --git a/src/load-fragment.c b/src/load-fragment.c index c27c9d8477..aac27b56ed 100644 --- a/src/load-fragment.c +++ b/src/load-fragment.c @@ -1944,6 +1944,8 @@ static int load_from_path(Unit *u, const char *path) { { "PathChanged", config_parse_path_spec, 0, &u->path, "Path" }, { "DirectoryNotEmpty", config_parse_path_spec, 0, &u->path, "Path" }, { "Unit", config_parse_path_unit, 0, &u->path, "Path" }, + { "MakeDirectory", config_parse_bool, 0, &u->path.make_directory, "Path" }, + { "DirectoryMode", config_parse_mode, 0, &u->path.directory_mode, "Path" }, /* The [Install] section is ignored here. */ { "Alias", NULL, 0, NULL, "Install" }, -- cgit v1.2.3-54-g00ecf