diff --git a/src/locking/virtlockd-admin.socket.in b/src/locking/virtlockd-admin.socket.in index f674c492f7..cd7072238c 100644 --- a/src/locking/virtlockd-admin.socket.in +++ b/src/locking/virtlockd-admin.socket.in @@ -1,6 +1,8 @@ [Unit] Description=Virtual machine lock manager admin socket Before=libvirtd.service +BindsTo=virtlockd.socket +After=virtlockd.socket [Socket] ListenStream=@localstatedir@/run/libvirt/virtlockd-admin-sock diff --git a/src/logging/virtlogd-admin.socket.in b/src/logging/virtlogd-admin.socket.in index 5c41dfeb7b..672bd7470d 100644 --- a/src/logging/virtlogd-admin.socket.in +++ b/src/logging/virtlogd-admin.socket.in @@ -1,6 +1,8 @@ [Unit] Description=Virtual machine log manager socket Before=libvirtd.service +BindsTo=virtlogd.socket +After=virtlogd.socket [Socket] ListenStream=@localstatedir@/run/libvirt/virtlogd-admin-sock