post(caddy): NixOS/nixpkgs#97512 is still in progress

This commit is contained in:
MDLeom 2020-10-31 06:20:55 +00:00
parent 64a5d20284
commit 3fd090b561
No known key found for this signature in database
GPG Key ID: 32D3E28E96A695E8
4 changed files with 4 additions and 4 deletions

View File

@ -101,7 +101,7 @@ in {
environment = mkIf (versionAtLeast config.system.stateVersion "17.09") environment = mkIf (versionAtLeast config.system.stateVersion "17.09")
{ CADDYPATH = cfg.dataDir; }; { CADDYPATH = cfg.dataDir; };
startLimitIntervalSec = 86400; startLimitIntervalSec = 86400;
# 20.09+ # https://github.com/NixOS/nixpkgs/pull/97512
# startLimitBurst = 5; # startLimitBurst = 5;
serviceConfig = { serviceConfig = {
ExecStart = '' ExecStart = ''

View File

@ -80,7 +80,7 @@ in {
environment = mkIf (versionAtLeast config.system.stateVersion "17.09" && !isCaddy2) environment = mkIf (versionAtLeast config.system.stateVersion "17.09" && !isCaddy2)
{ CADDYPATH = cfg.dataDir; }; { CADDYPATH = cfg.dataDir; };
startLimitIntervalSec = 86400; startLimitIntervalSec = 86400;
# 20.09+ # https://github.com/NixOS/nixpkgs/pull/97512
# startLimitBurst = 5; # startLimitBurst = 5;
serviceConfig = { serviceConfig = {
ExecStart = '' ExecStart = ''

View File

@ -149,7 +149,7 @@ in {
environment = mkIf (versionAtLeast config.system.stateVersion "17.09") environment = mkIf (versionAtLeast config.system.stateVersion "17.09")
{ CADDYPATH = cfg.dataDir; }; { CADDYPATH = cfg.dataDir; };
startLimitIntervalSec = 86400; startLimitIntervalSec = 86400;
# 20.09+ # https://github.com/NixOS/nixpkgs/pull/97512
# startLimitBurst = 5; # startLimitBurst = 5;
serviceConfig = { serviceConfig = {
ExecStart = '' ExecStart = ''

View File

@ -124,7 +124,7 @@ in {
environment = mkIf (versionAtLeast config.system.stateVersion "17.09") environment = mkIf (versionAtLeast config.system.stateVersion "17.09")
{ CADDYPATH = cfg.dataDir; }; { CADDYPATH = cfg.dataDir; };
startLimitIntervalSec = 86400; startLimitIntervalSec = 86400;
# 20.09+ # https://github.com/NixOS/nixpkgs/pull/97512
# startLimitBurst = 5; # startLimitBurst = 5;
serviceConfig = { serviceConfig = {
ExecStart = '' ExecStart = ''