summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Davies <jpds@protonmail.com>2023-11-24 11:03:32 +0000
committergithub-actions[bot] <github-actions[bot]@users.noreply.github.com>2023-11-24 14:41:37 +0000
commit85978b1c7a838a98fad0152c9d2d30d6a6a4a4e8 (patch)
treed6bb946af9c9a9ac863ee59bf9e2c2db139944d9
parentMerge pull request #269626 from NixOS/backport-251671-to-release-23.11 (diff)
downloadnixpkgs-85978b1c7a838a98fad0152c9d2d30d6a6a4a4e8.tar.gz
nixos/caddy: Fixed RestartSec typo.
(cherry picked from commit a1163912c2ec5ff9f063689c07d09a4a032a80b5)
-rw-r--r--nixos/modules/services/web-servers/caddy/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/web-servers/caddy/default.nix b/nixos/modules/services/web-servers/caddy/default.nix
index dcacb40e4681..cc89553fbb75 100644
--- a/nixos/modules/services/web-servers/caddy/default.nix
+++ b/nixos/modules/services/web-servers/caddy/default.nix
@@ -378,7 +378,7 @@ in
LogsDirectory = mkIf (cfg.logDir == "/var/log/caddy") [ "caddy" ];
Restart = "on-failure";
RestartPreventExitStatus = 1;
- RestartSecs = "5s";
+ RestartSec = "5s";
# TODO: attempt to upstream these options
NoNewPrivileges = true;