Commit fda322d
committed
Use infinite restarts for xsnippet-api.service
systemd defaults are fairly strict (<= 5 restarts within 10s) before
it gives up on the service. And we would prefer the service to recover
automatically after transient failures even if takes longer than that.
E.g. yesterday, I found that xsnippet-api had been down after the last
machine reboot because it could not fetch the Auth0 key on start, but
the same thing could happen with database connection as well.1 parent 106e24b commit fda322d
1 file changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
5 | 6 | | |
6 | 7 | | |
7 | 8 | | |
| |||
11 | 12 | | |
12 | 13 | | |
13 | 14 | | |
| 15 | + | |
14 | 16 | | |
15 | 17 | | |
16 | 18 | | |
0 commit comments