git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #110927 from Izorkin/fix-qemu-ga

nixos/qemu-guest-agent: fix start service

commit5b4915fb7a74ae13be2f9eb40a224f2005da2a4f authorJörg Thalheim <Mic92@users.noreply.github.com> dateWed 19 May 2021, 05:42 (6 years ago) parent761f95ee65d8e4
1 file changed+4−1
nixos/modules/virtualisation/qemu-guest-agent.nix+4−1
nixos/modules/virtualisation/qemu-guest-agent.nix+4−1
@@ -30,9 +30,12 @@ in {
3030 systemd.services.qemu-guest-agent = {
3131 description = "Run the QEMU Guest Agent";
3232 serviceConfig = {
33− ExecStart = "${cfg.package}/bin/qemu-ga";
33+ ExecStart = "${cfg.package}/bin/qemu-ga --statedir /run/qemu-ga";
3434 Restart = "always";
3535 RestartSec = 0;
36+ # Runtime directory and mode
37+ RuntimeDirectory = "qemu-ga";
38+ RuntimeDirectoryMode = "0755";
3639 };
3740 };
3841 }