Skip to content

Commit 85856bc

Browse files
Merge pull request #391 from microvm-nix/virtiofsdCount
2 parents 972e6fd + 56e1b02 commit 85856bc

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

nixos-modules/microvm/virtiofsd/default.nix

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@ in
2121
"eventlistener:notify" = {
2222
command = pkgs.writers.writePython3 "supervisord-event-handler" { } (
2323
pkgs.replaceVars ./supervisord-event-handler.py {
24-
virtiofsdCount = builtins.length virtiofsShares;
24+
# 1 for the event handler process
25+
virtiofsdCount = 1 + builtins.length virtiofsShares;
2526
}
2627
);
2728
events = "PROCESS_STATE";

0 commit comments

Comments
 (0)