chiark / gitweb /
lookup: look for dynamic throw-away units in /dev/.systemd/system
authorLennart Poettering <lennart@poettering.net>
Wed, 13 Oct 2010 00:34:21 +0000 (02:34 +0200)
committerLennart Poettering <lennart@poettering.net>
Wed, 13 Oct 2010 00:34:21 +0000 (02:34 +0200)
src/path-lookup.c

index 258252a564a3fc84ef4f672211375d3a2b612c32..c746e5e1ad5895076921a396b836fbc4e4c8cc0a 100644 (file)
@@ -181,6 +181,7 @@ int lookup_paths_init(LookupPaths *p, ManagerRunningAs running_as) {
                                 return -ENOMEM;
                 } else
                         if (!(p->unit_path = strv_new(
                                 return -ENOMEM;
                 } else
                         if (!(p->unit_path = strv_new(
+                                              "/dev/.systemd/system",
                                               SYSTEM_CONFIG_UNIT_PATH,
                                               "/etc/systemd/system",
                                               "/usr/local/share/systemd/system",
                                               SYSTEM_CONFIG_UNIT_PATH,
                                               "/etc/systemd/system",
                                               "/usr/local/share/systemd/system",