mirror of https://gitlab.com/curben/blog
				
				
				
			post(caddy): NixOS/nixpkgs#97512 is still in progress
This commit is contained in:
		
							parent
							
								
									64a5d20284
								
							
						
					
					
						commit
						3fd090b561
					
				|  | @ -101,7 +101,7 @@ in { | |||
|       environment = mkIf (versionAtLeast config.system.stateVersion "17.09") | ||||
|         { CADDYPATH = cfg.dataDir; }; | ||||
|       startLimitIntervalSec = 86400; | ||||
|       # 20.09+ | ||||
|       # https://github.com/NixOS/nixpkgs/pull/97512 | ||||
|       # startLimitBurst = 5; | ||||
|       serviceConfig = { | ||||
|         ExecStart = '' | ||||
|  |  | |||
|  | @ -80,7 +80,7 @@ in { | |||
|       environment = mkIf (versionAtLeast config.system.stateVersion "17.09" && !isCaddy2) | ||||
|         { CADDYPATH = cfg.dataDir; }; | ||||
|       startLimitIntervalSec = 86400; | ||||
|       # 20.09+ | ||||
|       # https://github.com/NixOS/nixpkgs/pull/97512 | ||||
|       # startLimitBurst = 5; | ||||
|       serviceConfig = { | ||||
|         ExecStart = '' | ||||
|  |  | |||
|  | @ -149,7 +149,7 @@ in { | |||
|       environment = mkIf (versionAtLeast config.system.stateVersion "17.09") | ||||
|         { CADDYPATH = cfg.dataDir; }; | ||||
|       startLimitIntervalSec = 86400; | ||||
|       # 20.09+ | ||||
|       # https://github.com/NixOS/nixpkgs/pull/97512 | ||||
|       # startLimitBurst = 5; | ||||
|       serviceConfig = { | ||||
|         ExecStart = '' | ||||
|  |  | |||
|  | @ -124,7 +124,7 @@ in { | |||
|       environment = mkIf (versionAtLeast config.system.stateVersion "17.09") | ||||
|         { CADDYPATH = cfg.dataDir; }; | ||||
|       startLimitIntervalSec = 86400; | ||||
|       # 20.09+ | ||||
|       # https://github.com/NixOS/nixpkgs/pull/97512 | ||||
|       # startLimitBurst = 5; | ||||
|       serviceConfig = { | ||||
|         ExecStart = '' | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue