This changes the default service (and sockets) name to kresd@1.service
instead of kresd.service
, but it allow the user to spawn multiple processes using systemd socket activation.
I've also experimented with using a systemd generator to create the instances on-the-fly and still be able to keep the original kresd.service
names instead of kresd@1.service
. However, that had some caveats and the solution seemed much more complicated from both developer and user point of view.
@dkg I'd love to hear your opinion on this if you'd have the time to take a look at the changes!