diff options
author | Lennart Poettering <lennart@poettering.net> | 2016-02-25 00:54:31 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2016-04-12 13:43:30 +0200 |
commit | 5f0a41dade626da20000890807bc61f5d4359fb5 (patch) | |
tree | 2576d27ce36684b8eaa007b3aeb747a3396de723 /src/shared | |
parent | 92dd7c49659a0bb4c8e081199e4ff4351f37397a (diff) |
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.
Diffstat (limited to 'src/shared')
-rw-r--r-- | src/shared/path-lookup.c | 2 |
1 files changed, 2 insertions, 0 deletions
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", |