From bf9a6e8bfc2a03e549e35e72218ed9ad2574a6e2 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Thu, 24 Jun 2010 03:08:22 +0200 Subject: path-lookup: unconditionally check /usr and /usr/share unit directories --- src/path-lookup.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') 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; -- cgit v1.2.3-54-g00ecf