Skip to content

Commit 13d0a19

Browse files
committed
fix: restart service module infinite times
1 parent 10cbc55 commit 13d0a19

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

modules.nix

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,8 @@
7979
'';
8080
Restart = "always";
8181
RestartSec = "1s";
82+
StartLimitIntervalSec = "0";
83+
StartLimitBurst = "0";
8284
};
8385
};
8486
};
@@ -127,6 +129,8 @@
127129
Description = "Polykey Agent";
128130
After = [ "default.target" "network.target" ];
129131
Wants = [ "network.target" ];
132+
StartLimitIntervalSec = "0";
133+
StartLimitBurst = "0";
130134
};
131135
Service = {
132136
ExecStartPre = ''

0 commit comments

Comments
 (0)