[Vm-dev] Unix socket plugin patch for systemd

Max Leske maxleske at gmail.com
Thu May 2 15:22:07 UTC 2013


We've created a patch for the unix socket plugin that allows for socket activation via systemd.

This is how it works:
1. tell systemd to link a socket to the vm (e.g. 8080)
2. send a request to the socket
3. systemd will launch the vm and hold the request until the image is connected to the port
4. (here's where the patch comes in) connect to the socket in the image (e.g. by starting WAKom - WAKom startOn: 8080)

The patch is necessary because the primitive would fail when connecting to the socket (the plugin thinks that the socket is already in use).

So here's my question: who is responsible for the plugin or would like to integrate the patch?

Cheers,
Max


More information about the Vm-dev mailing list