nixos/qemu-guest-agent: add statedir

wip/little-gl
Izorkin 3 years ago
parent 7abc672ea9
commit e65d8e4845
No known key found for this signature in database
GPG Key ID: 1436C1B3F3679F09
  1. 5
      nixos/modules/virtualisation/qemu-guest-agent.nix

@ -30,9 +30,12 @@ in {
systemd.services.qemu-guest-agent = {
description = "Run the QEMU Guest Agent";
serviceConfig = {
ExecStart = "${cfg.package}/bin/qemu-ga";
ExecStart = "${cfg.package}/bin/qemu-ga --statedir /run/qemu-ga";
Restart = "always";
RestartSec = 0;
# Runtime directory and mode
RuntimeDirectory = "qemu-ga";
RuntimeDirectoryMode = "0755";
};
};
}

Loading…
Cancel
Save