]> xenbits.xensource.com Git - libvirt.git/commitdiff
systemd: Set Type=notify for virtlogd/virtlockd
authorAndrea Bolognani <abologna@redhat.com>
Tue, 19 Sep 2023 18:09:26 +0000 (20:09 +0200)
committerAndrea Bolognani <abologna@redhat.com>
Tue, 26 Sep 2023 14:55:29 +0000 (16:55 +0200)
This tells systemd that the services in question support the
native socket activation protocol.

virtlogd and virtlockd, just like all the other daemons, implement
the necessary handshake.

Signed-off-by: Andrea Bolognani <abologna@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
src/locking/virtlockd.service.in
src/logging/virtlogd.service.in

index f12c3040e909944d3c09e74ae688e9d6a9b9eb9f..9e91fa3261aff04c716b1b8eec9b1a37d6b33d3b 100644 (file)
@@ -7,6 +7,7 @@ Documentation=man:virtlockd(8)
 Documentation=https://libvirt.org
 
 [Service]
+Type=notify
 Environment=VIRTLOCKD_ARGS=
 EnvironmentFile=-@initconfdir@/virtlockd
 ExecStart=@sbindir@/virtlockd $VIRTLOCKD_ARGS
index e665e8a02e232ff0b4905ae0c858ed5a9640f0c1..97c942ffb06ad8d9fe17d7132e1c1c2374ebec83 100644 (file)
@@ -7,6 +7,7 @@ Documentation=man:virtlogd(8)
 Documentation=https://libvirt.org
 
 [Service]
+Type=notify
 Environment=VIRTLOGD_ARGS=
 EnvironmentFile=-@initconfdir@/virtlogd
 ExecStart=@sbindir@/virtlogd $VIRTLOGD_ARGS