Skip to content

Commit 42628f7

Browse files
SuperSandro2000astro
authored andcommitted
Drop virtiofsd reload
it was not working anyway
1 parent caebc2d commit 42628f7

File tree

2 files changed

+1
-6
lines changed

2 files changed

+1
-6
lines changed

nixos-modules/host/default.nix

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,6 @@ in
198198
serviceConfig = {
199199
WorkingDirectory = "${stateDir}/%i";
200200
ExecStart = "${stateDir}/%i/current/bin/virtiofsd-run";
201-
ExecReload = "${runFromBootedOrCurrent} virtiofsd-reload %i";
202201
ExecStop = "${runFromBootedOrCurrent} virtiofsd-shutdown %i";
203202
LimitNOFILE = 1048576;
204203
NotifyAccess = "all";
@@ -242,7 +241,7 @@ in
242241
WorkingDirectory = "${stateDir}/%i";
243242
ExecStart = "${stateDir}/%i/current/bin/microvm-run";
244243
ExecStop = "${stateDir}/%i/booted/bin/microvm-shutdown";
245-
TimeoutSec = config.microvm.host.startupTimeout;
244+
TimeoutSec = config.microvm.host.startupTimeout;
246245
Restart = "always";
247246
RestartSec = "5s";
248247
User = user;

nixos-modules/microvm/virtiofsd/default.nix

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -71,10 +71,6 @@ in
7171
exec ${supervisord} --configuration ${supervisordConfigFile}
7272
'';
7373

74-
virtiofsd-reload = ''
75-
exec ${supervisorctl} reload
76-
'';
77-
7874
virtiofsd-shutdown = ''
7975
exec ${supervisorctl} stop
8076
'';

0 commit comments

Comments
 (0)