nixos/libvirt-guests: remove unexpected service dependency on libvirtd.service
Remove service dependency that caused VMs to get suspended/shudown on libvirtd service stop/restart. This behaviour is unexpected. The `libvirt-guests.service` is expected to suspend/shutdown libvirt guests on host system shutdown - not on libvirtd service shutdown. this resolves https://github.com/NixOS/nixpkgs/issues/485136
This commit is contained in:
@@ -549,7 +549,6 @@ in
|
||||
|
||||
systemd.services.libvirt-guests = {
|
||||
wantedBy = [ "multi-user.target" ];
|
||||
requires = [ "libvirtd.service" ];
|
||||
after = [ "libvirtd.service" ];
|
||||
path = with pkgs; [
|
||||
coreutils
|
||||
|
||||
Reference in New Issue
Block a user