chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e6b3f00
)
path-lookup: unconditionally check /usr and /usr/share unit directories
author
Lennart Poettering
<lennart@poettering.net>
Thu, 24 Jun 2010 01:08:22 +0000
(
03:08
+0200)
committer
Lennart Poettering
<lennart@poettering.net>
Thu, 24 Jun 2010 01:08:22 +0000
(
03:08
+0200)
src/path-lookup.c
patch
|
blob
|
history
diff --git
a/src/path-lookup.c
b/src/path-lookup.c
index 4160d5586272d44eee3bcb85d693533b8ed1eca9..2590eb3abfc8aeed823c8f34ec3fe6bb2abc152c 100644
(file)
--- 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;