summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-06-24 03:08:22 +0200
committerLennart Poettering <lennart@poettering.net>2010-06-24 03:08:22 +0200
commitbf9a6e8bfc2a03e549e35e72218ed9ad2574a6e2 (patch)
treed8108990947736a66c44d364e18deaf7c3de8bb0
parente6b3f00f6675475b770d3693498b224f232b0d1c (diff)
path-lookup: unconditionally check /usr and /usr/share unit directories
-rw-r--r--src/path-lookup.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/path-lookup.c b/src/path-lookup.c
index 4160d55862..2590eb3abf 100644
--- a/src/path-lookup.c
+++ b/src/path-lookup.c
@@ -182,6 +182,8 @@ int lookup_paths_init(LookupPaths *p, ManagerRunningAs running_as) {
} else
if (!(p->unit_path = strv_new(
SYSTEM_CONFIG_UNIT_PATH, /* /etc/systemd/system/ */
+ "/usr/local/share/systemd/system",
+ "/usr/share/systemd/system",
SYSTEM_DATA_UNIT_PATH, /* /lib/systemd/system/ */
NULL)))
return -ENOMEM;