diff options
author | Ismaël Bouya <ismael.bouya@normalesup.org> | 2020-04-28 01:40:28 +0200 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@normalesup.org> | 2020-04-28 01:40:28 +0200 |
commit | 37465bc7b0601bbeb8ec84c728ef50f58788707a (patch) | |
tree | 63208c3138086b290dd9993b04905193b07269f1 /modules/private | |
parent | de6002a102eb825678bebe12b13a119263e59eef (diff) | |
download | Nix-37465bc7b0601bbeb8ec84c728ef50f58788707a.tar.gz Nix-37465bc7b0601bbeb8ec84c728ef50f58788707a.tar.zst Nix-37465bc7b0601bbeb8ec84c728ef50f58788707a.zip |
Fix acme scripts starting before bind
Diffstat (limited to 'modules/private')
-rw-r--r-- | modules/private/certificates.nix | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/private/certificates.nix b/modules/private/certificates.nix index b9c0860..c564d34 100644 --- a/modules/private/certificates.nix +++ b/modules/private/certificates.nix | |||
@@ -60,6 +60,7 @@ | |||
60 | ) config.security.acme.certs // | 60 | ) config.security.acme.certs // |
61 | lib.attrsets.mapAttrs' (k: data: | 61 | lib.attrsets.mapAttrs' (k: data: |
62 | lib.attrsets.nameValuePair "acme-${k}" { | 62 | lib.attrsets.nameValuePair "acme-${k}" { |
63 | after = lib.mkAfter [ "bind.service" ]; | ||
63 | serviceConfig.ExecStartPre = | 64 | serviceConfig.ExecStartPre = |
64 | let | 65 | let |
65 | script = pkgs.writeScript "acme-pre-start" '' | 66 | script = pkgs.writeScript "acme-pre-start" '' |