[systemd-devel] Q: (simple) socket activation

Lennart Poettering lennart at poettering.net
Mon Dec 21 15:18:21 UTC 2020


On Fr, 18.12.20 08:44, Ulrich Windl (Ulrich.Windl at rz.uni-regensburg.de) wrote:

> Hi!
>
> I have a simple question: For a socket-unit I have:
> LISTEN                                UNIT                            ACTIVATES
> [::]:16514                            libvirtd-tls.socket             libvirtd.service
>
> I had enabled/started libvirtd.service first, then configured TLS later, enabling/starting the libvirtd-tls.socket.
> Should I disable libvirtd.service again, or would that block libvirtd-tls.socket from working?
> At the moment I can't restart libvirtd-tls.socket when libvirtd.service is running: I first have to stop libvirtd.service.

This really depends on how the libvirt object put together its unit
files, and cannot be answered out of thin air.

Not sure what "configured TLS later" is even supposed to mean.

Lennart

--
Lennart Poettering, Berlin


More information about the systemd-devel mailing list