Loading
switch-to-configuration-ng: Dispatch on new section in compare_units
When exactly one section was newly introduced, the code looked up
new_unit.get("Unit") first regardless of which section was actually
new. If [Service] was the new section but the unit also had an
unchanged [Unit] section, the [Service] contents were never inspected
and a newly added ExecStart= would not trigger a restart.
Dispatch on section_cmp instead and add unit tests for both the
restart and reload cases.