diff options
author | Lennart Poettering <lennart@poettering.net> | 2017-02-07 20:16:12 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2017-02-07 20:16:12 +0100 |
commit | dfead90d936d4c4cbe4f164f35def7399d80817c (patch) | |
tree | d3c8805a28d325c8791ea05bccfdb02fb8a12306 /src/shared/efivars.c | |
parent | 9f6cbcf53cd3abe416b9808bbfb5648c6b808400 (diff) |
install: when a template unit is instantiated via a /usr symlink, consider it enabled
If a unit foobar@.service stored below /usr is instantiated via a
symlink foobar@quux.service also below /usr, then we should consider the
instance statically enabled, while the template itself should continue
to be considered enabled/disabled/static depending on its [Install]
section.
In order to implement this we'll now look for enablement symlinks in all
unit search paths, not just in the config and runtime dirs.
Fixes: #5136
Diffstat (limited to 'src/shared/efivars.c')
0 files changed, 0 insertions, 0 deletions