The Service directives belong to the Socket section. Otherwise,
systemd fails to find the associated service and the socket can't start.
Description=Knot DNS Resolver control socket
Documentation=man:kresd(8)
Before=sockets.target
-Service=kresd@%i.service
PartOf=kresd@%i.service
[Socket]
+Service=kresd@%i.service
ListenStream=/run/knot-resolver/control@%i
FileDescriptorName=control
SocketMode=0660
Description=Knot DNS Resolver TLS network listener
Documentation=man:kresd(8)
Before=sockets.target
-Service=kresd@%i.service
PartOf=kresd@%i.service
[Socket]
+Service=kresd@%i.service
ReusePort=true
FreeBind=true
FileDescriptorName=tls