nixos/libvirtd: Don't use the --daemon flag now that we use the 'notify' service type
This commit is contained in:
parent
9facb7078b
commit
7d67a4da99
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue