Skip to content

Commit

Permalink
fix: StartLimitIntervalSec not in [Service]
Browse files Browse the repository at this point in the history
  • Loading branch information
5aaee9 committed Dec 14, 2023
1 parent 9b45f89 commit c4a5c1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/services/clash/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,7 @@ in
${profileCommands}
exec ${lib.getExe cfg.package} -d ${dataDir} -ext-ctl ${cfg.controller} -f ${cfg.config}.yaml ${optionalString (cfg.secret != null) ''--secret ${cfg.secret}''}
'';
startLimitIntervalSec = 0;

serviceConfig = {
LimitNOFILE = "16777216";
Expand All @@ -136,7 +137,6 @@ in
TasksMax = "infinity";

Restart = "always";
StartLimitIntervalSec = 0;

StateDirectory = "clash";
RuntimeDirectory = "clash";
Expand Down

0 comments on commit c4a5c1c

Please sign in to comment.