mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-10-31 18:33:11 +00:00
b2390c3c25
Prepare for reusing libvirtd socket unit files with other daemons by making various parts of their config conditionally defined by the make rules. Reviewed-by: Christophe de Dinechin <dinechin@redhat.com> Reviewed-by: Andrea Bolognani <abologna@redhat.com> Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
16 lines
320 B
SYSTEMD
16 lines
320 B
SYSTEMD
[Unit]
|
|
Description=@name@ TLS IP socket
|
|
Before=@service@.service
|
|
BindsTo=@service@.socket
|
|
After=@service@.socket
|
|
@deps@
|
|
|
|
[Socket]
|
|
# This must match the @sysconfdir@/libvirt/@service@.conf tls_port setting
|
|
# when using systemd version < 227
|
|
ListenStream=16514
|
|
Service=@service@.service
|
|
|
|
[Install]
|
|
WantedBy=sockets.target
|