Revert "core: don't load dropin data multiple times for the same unit (#5139)"
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Sat, 22 Jul 2017 12:39:49 +0000 (08:39 -0400)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Sat, 22 Jul 2017 20:03:00 +0000 (16:03 -0400)
commit9e4ea9cc34fa032a47c253ddd94ac6c7afda663e
treeb2b3a9f2a0ab2f647fc0a7398cc79bdaecef1376
parent8ae12e733c5369a7e6360eaa5c942ea05fe44bde
Revert "core: don't load dropin data multiple times for the same unit (#5139)"

This reverts commit 2d058a87ffb2d31a50422a8aebd119bbb4427244.

When we add another name to a unit (by following an alias), we need to
reload all drop-ins. This is necessary to load any additional dropins
found in the dirs created from the alias name.

Fixes #6334.
src/core/unit.c