Merge pull request #269613 from jpds/caddy-restart-sec-typo

nixos/caddy: Fixed RestartSec typo
This commit is contained in:
Nick Cao 2023-11-24 09:41:10 -05:00 committed by GitHub
commit 9ad7bc9180
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;