fixup! mainloop: factor out systemd communication into a service-management module