forked from mirrors/nixpkgs
Merge pull request #110927 from Izorkin/fix-qemu-ga
nixos/qemu-guest-agent: fix start service
This commit is contained in:
commit
5b4915fb7a
|
@ -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…
Reference in a new issue