core: move check for combination of PAMName= + KillMode= to unit_verify_contexts()
authorMike Yuan <me@yhndnzj.com>
Sun, 25 Aug 2024 21:42:07 +0000 (23:42 +0200)
committerMike Yuan <me@yhndnzj.com>
Mon, 26 Aug 2024 12:52:25 +0000 (14:52 +0200)
commit2234032c47f0abaf59e93b2a42ee926f9233f05c
tree541eae8d4dd44166c20d92f9a378db46d7f27306
parentbca5505839c33549040c2ed22e751ba9edf81728
core: move check for combination of PAMName= + KillMode= to unit_verify_contexts()

While at it, allow "mixed" for all unit types too, i.e.
also apply ebc2259da1d1579347b86fc2ebca9f96334b6f22 to
socket/mount/swap units.
src/core/mount.c
src/core/service.c
src/core/socket.c
src/core/swap.c
src/core/unit.c
src/core/unit.h