diff options
author | Lennart Poettering <lennart@poettering.net> | 2010-06-24 03:08:22 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2010-06-24 03:08:22 +0200 |
commit | bf9a6e8bfc2a03e549e35e72218ed9ad2574a6e2 (patch) | |
tree | d8108990947736a66c44d364e18deaf7c3de8bb0 /src | |
parent | e6b3f00f6675475b770d3693498b224f232b0d1c (diff) |
path-lookup: unconditionally check /usr and /usr/share unit directories
Diffstat (limited to 'src')
-rw-r--r-- | src/path-lookup.c | 2 |
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; |