move gsfd restart resilience defaults into hardware.gsf module
Tests / test_core_function (push) Failing after 13s
Tests / test_core_function (push) Failing after 13s
This commit is contained in:
+2
-1
@@ -88,11 +88,12 @@ in
|
|||||||
description = "gotta-scroll-fast daemon";
|
description = "gotta-scroll-fast daemon";
|
||||||
wantedBy = ["default.target"];
|
wantedBy = ["default.target"];
|
||||||
after = ["graphical-session.target"];
|
after = ["graphical-session.target"];
|
||||||
|
unitConfig.StartLimitIntervalSec = 0;
|
||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
Environment = ["GSF_STATS_PATH=%t/gsf-speed.txt"];
|
Environment = ["GSF_STATS_PATH=%t/gsf-speed.txt"];
|
||||||
ExecStart = "${cfg.package}/bin/gsfd --device ${lib.escapeShellArg cfg.device}${lib.optionalString (cfg.extraArgs != []) " ${extraArgs}"}";
|
ExecStart = "${cfg.package}/bin/gsfd --device ${lib.escapeShellArg cfg.device}${lib.optionalString (cfg.extraArgs != []) " ${extraArgs}"}";
|
||||||
Restart = "on-failure";
|
Restart = "on-failure";
|
||||||
RestartSec = 1;
|
RestartSec = 2;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user