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

This commit is contained in:
Rickard Nilsson 2016-07-01 18:21:32 +02:00
parent 9facb7078b
commit 7d67a4da99

View file

@ -135,7 +135,7 @@ in {
''; # */
serviceConfig = {
ExecStart = ''@${pkgs.libvirt}/sbin/libvirtd libvirtd --config "${configFile}" --daemon ${concatStringsSep " " cfg.extraOptions}'';
ExecStart = ''@${pkgs.libvirt}/sbin/libvirtd libvirtd --config "${configFile}" ${concatStringsSep " " cfg.extraOptions}'';
Type = "notify";
KillMode = "process"; # when stopping, leave the VMs alone
Restart = "on-failure";