From e8ba7fa302c7f4c2a9dc7a5dc1e1b1a633bd7133 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Mon, 31 Jan 2022 18:17:53 +0100 Subject: ... --- hosts/surtr/http.nix | 1 + 1 file changed, 1 insertion(+) (limited to 'hosts/surtr') diff --git a/hosts/surtr/http.nix b/hosts/surtr/http.nix index d7f4c258..e7648e80 100644 --- a/hosts/surtr/http.nix +++ b/hosts/surtr/http.nix @@ -69,6 +69,7 @@ systemd.services.nginx = { preStart = lib.mkForce config.services.nginx.preStart; serviceConfig = { + ExecReload = lib.mkForce "${pkgs.coreutils}/bin/kill -HUP $MAINPID"; LoadCredential = [ "webdav.141.li.key.pem:${config.security.acme.certs."webdav.141.li".directory}/key.pem" "webdav.141.li.pem:${config.security.acme.certs."webdav.141.li".directory}/fullchain.pem" -- cgit v1.2.3