X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=src%2Fpath-lookup.c;h=2590eb3abfc8aeed823c8f34ec3fe6bb2abc152c;hp=4160d5586272d44eee3bcb85d693533b8ed1eca9;hb=bf9a6e8bfc2a03e549e35e72218ed9ad2574a6e2;hpb=a3d4e06dfa234bf2a9398c8e534b705b68aa50a1 diff --git a/src/path-lookup.c b/src/path-lookup.c index 4160d5586..2590eb3ab 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;