Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

nixos/libvirtd: Don't use the --daemon flag now that we use the 'notify' service type

(cherry picked from commit 7d67a4da99b1c83ae7c9405d8f35a9727778982e)

+1 -1
+1 -1
nixos/modules/virtualisation/libvirtd.nix
··· 135 135 ''; # */ 136 136 137 137 serviceConfig = { 138 - ExecStart = ''@${pkgs.libvirt}/sbin/libvirtd libvirtd --config "${configFile}" --daemon ${concatStringsSep " " cfg.extraOptions}''; 138 + ExecStart = ''@${pkgs.libvirt}/sbin/libvirtd libvirtd --config "${configFile}" ${concatStringsSep " " cfg.extraOptions}''; 139 139 Type = "notify"; 140 140 KillMode = "process"; # when stopping, leave the VMs alone 141 141 Restart = "on-failure";