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";
|
||||
wantedBy = ["default.target"];
|
||||
after = ["graphical-session.target"];
|
||||
unitConfig.StartLimitIntervalSec = 0;
|
||||
serviceConfig = {
|
||||
Environment = ["GSF_STATS_PATH=%t/gsf-speed.txt"];
|
||||
ExecStart = "${cfg.package}/bin/gsfd --device ${lib.escapeShellArg cfg.device}${lib.optionalString (cfg.extraArgs != []) " ${extraArgs}"}";
|
||||
Restart = "on-failure";
|
||||
RestartSec = 1;
|
||||
RestartSec = 2;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user