Skip to content

Commit

Permalink
nixos-modules/host: fix microvm-virtiofsd@ ConditionPathExists
Browse files Browse the repository at this point in the history
  • Loading branch information
astro committed Nov 24, 2024
1 parent 0f5d7d6 commit 994a189
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nixos-modules/host/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ in
before = [ "microvm@%i.service" ];
after = [ "local-fs.target" ];
partOf = [ "microvm@%i.service" ];
unitConfig.ConditionPathExists = "${stateDir}/%i/current/bin/run-virtiofsd";
unitConfig.ConditionPathExists = "${stateDir}/%i/current/bin/virtiofsd-run";
restartIfChanged = false;
serviceConfig = {
WorkingDirectory = "${stateDir}/%i";
Expand Down

0 comments on commit 994a189

Please sign in to comment.