chiark / gitweb /
cgls: don't strip user processes and kernel threads from default output
[elogind.git] / src / path-lookup.c
index f094969adaf9c1a2224b66443a904edae9defa3b..922e722e17be40b4743c5c306027caf84cb71a7f 100644 (file)
@@ -181,7 +181,9 @@ int lookup_paths_init(LookupPaths *p, ManagerRunningAs running_as) {
                                 return -ENOMEM;
                 } else
                         if (!(p->unit_path = strv_new(
-                                              "/dev/.systemd/system",
+                                              /* If you modify this you also want to modify
+                                               * systemdsystemunitpath= in systemd.pc.in! */
+                                              "/dev/.run/systemd/system",
                                               SYSTEM_CONFIG_UNIT_PATH,
                                               "/etc/systemd/system",
                                               "/usr/local/share/systemd/system",