diff options
| author | Maximilian Bosch <maximilian@mbosch.me> | 2025-07-26 19:11:54 +0200 |
|---|---|---|
| committer | Maximilian Bosch <maximilian@mbosch.me> | 2025-07-26 19:11:54 +0200 |
| commit | 6ae194e419471d9f6afe98e988cc2be172f72479 (patch) | |
| tree | 1a7a4101523dd1000370b1cae96cfe9490e34cb5 /pkgs/development/python-modules/termplotlib/gnuplot-subprocess.patch | |
| parent | 03d0fed6f89352200d32c455b50844a616d997d0 (diff) | |
nixos/postgresql: set Restart=always for postgresql.service
...including a slightly more careful config around restarts, i.e.
* We have intervals of 5 seconds between restarts instead of 100ms.
* If we exceed 5 start attempts in 5*120s (with 120s being the timeout),
start job gets rate-limited and thus aborted. Do note that there are
at most 5 start attempts allowed in ~625s by default. If the startup
fails very quickly, either wait until the rate-limit is over or reset
the counter using `systemctl reset-failed postgresql.service`.
* The interval of 625s (plus 5s of buffer) are automatically derived
from RestartSec & TimeoutSec. Changing either will also affect
StartLimitIntervalSec unless overridden with `mkForce`.
Diffstat (limited to 'pkgs/development/python-modules/termplotlib/gnuplot-subprocess.patch')
0 files changed, 0 insertions, 0 deletions
