From 3f00b8496675f1a864a99281d00897c327457d15 Mon Sep 17 00:00:00 2001 From: Alexander Sieg Date: Wed, 28 Aug 2024 17:15:16 +0200 Subject: [PATCH] libvirt pid file --- darwin/ook/libvirt.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/darwin/ook/libvirt.nix b/darwin/ook/libvirt.nix index 6d927b6..5713eb0 100644 --- a/darwin/ook/libvirt.nix +++ b/darwin/ook/libvirt.nix @@ -22,6 +22,8 @@ "-f" "/etc/libvirt/libvirtd.conf" "-v" + "-p" + "/run/libvirt/libvirtd.pid" ]; WorkingDirectory = "/var/lib/libvirt"; StandardOutPath = "/var/log/libvirt/libvirt.log"; @@ -36,6 +38,8 @@ ProgramArguments = [ "${pkgs.libvirt}/bin/virtlogd" "-d" + "-p" + "/run/libvirt/virtlogd.pid" ]; StandardOutPath = "/var/log/libvirt/virtlogd.log"; StandardErrorPath = "/var/log/libvirt/virtlogd-error.log";