From 5f0a41dade626da20000890807bc61f5d4359fb5 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Thu, 25 Feb 2016 00:54:31 +0100 Subject: path-lookup: add configured unit paths back into search path After all, for test builds they might differ from /etc/systemd/{user|system}, hence they should be included. --- src/shared/path-lookup.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/shared/path-lookup.c') diff --git a/src/shared/path-lookup.c b/src/shared/path-lookup.c index 93dd83652f..11b9bb6107 100644 --- a/src/shared/path-lookup.c +++ b/src/shared/path-lookup.c @@ -451,6 +451,7 @@ int lookup_paths_init( * systemdsystemunitpath= in systemd.pc.in! */ STRV_IFNOTNULL(generator_early), persistent_config, + SYSTEM_CONFIG_UNIT_PATH, "/etc/systemd/system", runtime_config, "/run/systemd/system", @@ -472,6 +473,7 @@ int lookup_paths_init( * the arrays in user_dirs() above! */ STRV_IFNOTNULL(generator_early), persistent_config, + USER_CONFIG_UNIT_PATH, "/etc/systemd/user", runtime_config, "/run/systemd/user", -- cgit v1.2.3-54-g00ecf