summaryrefslogtreecommitdiff
path: root/src/shared/import-util.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2017-02-07 20:16:12 +0100
committerLennart Poettering <lennart@poettering.net>2017-02-07 20:16:12 +0100
commitdfead90d936d4c4cbe4f164f35def7399d80817c (patch)
treed3c8805a28d325c8791ea05bccfdb02fb8a12306 /src/shared/import-util.h
parent9f6cbcf53cd3abe416b9808bbfb5648c6b808400 (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/import-util.h')
0 files changed, 0 insertions, 0 deletions