mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-22 04:25:18 +00:00
systemd: Add Also between sockets
This results in all sockets for a service being enabled when a single one of them is. The -tcp and -tls sockets are intentionally excluded, because enabling them should require explicit action on the administrator's part; moreover, disabling them should not result in the local sockets being disabled too. Signed-off-by: Andrea Bolognani <abologna@redhat.com> Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
This commit is contained in:
parent
e248711ca4
commit
826931e95a
@ -10,3 +10,4 @@ SocketMode=0600
|
||||
|
||||
[Install]
|
||||
WantedBy=sockets.target
|
||||
Also=virtlockd.socket
|
||||
|
@ -8,3 +8,4 @@ SocketMode=0600
|
||||
|
||||
[Install]
|
||||
WantedBy=sockets.target
|
||||
Also=virtlockd-admin.socket
|
||||
|
@ -10,3 +10,4 @@ SocketMode=0600
|
||||
|
||||
[Install]
|
||||
WantedBy=sockets.target
|
||||
Also=virtlogd.socket
|
||||
|
@ -8,3 +8,4 @@ SocketMode=0600
|
||||
|
||||
[Install]
|
||||
WantedBy=sockets.target
|
||||
Also=virtlogd-admin.socket
|
||||
|
@ -10,3 +10,5 @@ SocketMode=0600
|
||||
|
||||
[Install]
|
||||
WantedBy=sockets.target
|
||||
Also=libvirtd.socket
|
||||
Also=libvirtd-ro.socket
|
||||
|
@ -10,3 +10,5 @@ SocketMode=0666
|
||||
|
||||
[Install]
|
||||
WantedBy=sockets.target
|
||||
Also=libvirtd.socket
|
||||
Also=libvirtd-admin.socket
|
||||
|
@ -9,3 +9,5 @@ RemoveOnStop=yes
|
||||
|
||||
[Install]
|
||||
WantedBy=sockets.target
|
||||
Also=libvirtd-ro.socket
|
||||
Also=libvirtd-admin.socket
|
||||
|
@ -12,3 +12,5 @@ SocketMode=0600
|
||||
|
||||
[Install]
|
||||
WantedBy=sockets.target
|
||||
Also=@service@.socket
|
||||
Also=@service@-ro.socket
|
||||
|
@ -12,3 +12,5 @@ SocketMode=0666
|
||||
|
||||
[Install]
|
||||
WantedBy=sockets.target
|
||||
Also=@service@.socket
|
||||
Also=@service@-admin.socket
|
||||
|
@ -11,3 +11,5 @@ RemoveOnStop=yes
|
||||
|
||||
[Install]
|
||||
WantedBy=sockets.target
|
||||
Also=@service@-ro.socket
|
||||
Also=@service@-admin.socket
|
||||
|
Loading…
x
Reference in New Issue
Block a user