Skip to content

Commit

Permalink
fix: add missing qmeventd service
Browse files Browse the repository at this point in the history
fixes #34
  • Loading branch information
camillemndn committed Jul 11, 2024
1 parent 5cb834a commit 30847aa
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
1 change: 1 addition & 0 deletions modules/proxmox-ve/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ in
# ./firewall.nix
# ./ha-manager.nix
./manager.nix
./qemu-server.nix
./rrdcached.nix
];

Expand Down
21 changes: 21 additions & 0 deletions modules/proxmox-ve/qemu-server.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
config,
lib,
pkgs,
...
}:

lib.mkIf config.services.proxmox-ve.enable {
systemd.services.qmeventd = {
description = "PVE Qemu Event Daemon";
wantedBy = [ "multi-user.target" ];
before = [
"pve-ha-lrm.service"
"pve-guests.service"
];
serviceConfig = {
ExecStart = "${pkgs.pve-ha-manager}/bin/qmeventd /var/run/qmeventd.sock";
Type = "forking";
};
};
}

0 comments on commit 30847aa

Please sign in to comment.