mirror of
https://git.selfprivacy.org/SelfPrivacy/selfprivacy-nixos-config.git
synced 2024-11-06 00:43:11 +00:00
acme: RestartSec = 15 * 60
This commit is contained in:
parent
c0aa73ca1b
commit
c63b6b808c
|
@ -1,4 +1,4 @@
|
|||
{ config, pkgs, ... }:
|
||||
{ config, lib, ... }:
|
||||
let
|
||||
domain = config.selfprivacy.domain;
|
||||
in
|
||||
|
@ -10,6 +10,10 @@ in
|
|||
StartLimitBurst = 5;
|
||||
StartLimitIntervalSec = 5;
|
||||
Restart = "on-failure";
|
||||
RestartSec =
|
||||
if lib.versionOlder config.system.nixos.release "23.11"
|
||||
then 15 * 60
|
||||
else abort "since NixOS 23.11 (#266155) ACME systemd service restart intervals should have been fixed, thus no workarounds are needed";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue