From 6dedb3191243c7761dda21941045a6b36637a7a0 Mon Sep 17 00:00:00 2001
From: Jean-Paul Calderone <exarkun@twistedmatrix.com>
Date: Mon, 4 Nov 2019 14:13:58 -0500
Subject: [PATCH] zkapissuer *requires* this and is also *after* this

so it won't be running yet when this runs
---
 nixos/modules/issuer.nix | 2 --
 1 file changed, 2 deletions(-)

diff --git a/nixos/modules/issuer.nix b/nixos/modules/issuer.nix
index 72ec1431..a859c505 100644
--- a/nixos/modules/issuer.nix
+++ b/nixos/modules/issuer.nix
@@ -145,8 +145,6 @@ in {
           ${pkgs.certbot}/bin/certbot register ${configArgs} --agree-tos -m ${cfg.letsEncryptAdminEmail} || true
           # Obtain the certificate.
           ${pkgs.certbot}/bin/certbot certonly ${configArgs} -n --standalone --domains ${cfg.domain}
-          # Restart the server so the new certificate gets used.
-          systemctl restart zkapissuer.service
           '';
       };
     };
-- 
GitLab