mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 15:33:13 +00:00
nixos/qemu-guest-agent: add statedir
This commit is contained in:
parent
7abc672ea9
commit
e65d8e4845
@ -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 New Issue
Block a user