summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/path-lookup.c2
-rw-r--r--systemd.pc.in3
2 files changed, 3 insertions, 2 deletions
diff --git a/src/path-lookup.c b/src/path-lookup.c
index e5533c04d9..b39ce8b699 100644
--- a/src/path-lookup.c
+++ b/src/path-lookup.c
@@ -194,8 +194,8 @@ int lookup_paths_init(LookupPaths *p, ManagerRunningAs running_as) {
"/usr/local/lib/systemd/system",
"/usr/share/systemd/system",
"/usr/lib/systemd/system",
- SYSTEM_DATA_UNIT_PATH,
"/lib/systemd/system",
+ SYSTEM_DATA_UNIT_PATH,
NULL)))
return -ENOMEM;
}
diff --git a/systemd.pc.in b/systemd.pc.in
index 33c3f36a9f..2e2217ec4b 100644
--- a/systemd.pc.in
+++ b/systemd.pc.in
@@ -11,7 +11,8 @@ systemdsystemunitdir=@systemunitdir@
systemduserunitdir=@userunitdir@
systemdsystemconfdir=@pkgsysconfdir@/system
systemduserconfdir=@pkgsysconfdir@/user
-systemdsystemunitpath=/run/systemd/system:${systemdsystemconfdir}:/etc/systemd/system:/usr/local/share/systemd/system:/usr/share/systemd/system:/lib/systemd/system:${systemdsystemunitdir}
+systemdsystemunitpath=/run/systemd/system:${systemdsystemconfdir}:/etc/systemd/system:/usr/local/share/systemd/system:/usr/local/lib/systemd/system:/usr/share/systemd/system:/usr/lib/systemd/system:/lib/systemd/system:${systemdsystemunitdir}
+systemduserunitpath=${systemduserconfdir}:/etc/systemd/user:/usr/local/share/systemd/user:/usr/local/lib/systemd/user:/usr/share/systemd/user:/usr/lib/systemd/user:${systemduserunitdir}
Name: systemd
Description: systemd System and Service Manager