libvirt/src/locking/virtlockd.socket.in
Michael Chapman 1163fa36b7 virtlockd: improve systemd units
- Pass VIRTLOCKD_ARGS through to virtlockd.

- Use SIGUSR1, not SIGHUP, in ExecReload. At present, virtlockd only
  responds to the former.

- Have "systemctl enable virtlockd.service" enable virtlockd.socket,
  rather than throw an error.

- Make virtlockd.socket wanted by sockets.target, rather than
  multi-user.target. This is consistent with other socket units in
  Fedora, and it ensures that the socket is available before libvirtd is
  started.

Signed-off-by: Michael Chapman <mike@very.puzzling.org>
2013-12-10 12:02:37 +01:00

9 lines
156 B
SYSTEMD

[Unit]
Description=Virtual machine lock manager socket
[Socket]
ListenStream=@localstatedir@/run/libvirt/virtlockd-sock
[Install]
WantedBy=sockets.target