Commit bf9a6e8b authored by Lennart Poettering's avatar Lennart Poettering
Browse files

path-lookup: unconditionally check /usr and /usr/share unit directories

parent e6b3f00f
......@@ -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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment