Skip to content
Snippets Groups Projects
Commit 0840544d authored by Jean-Paul Calderone's avatar Jean-Paul Calderone
Browse files

run non-interactively

parent 96c67858
No related branches found
No related tags found
No related merge requests found
...@@ -141,9 +141,9 @@ in { ...@@ -141,9 +141,9 @@ in {
pkgs.writeScript "cert-${cfg.domain}-start.sh" '' pkgs.writeScript "cert-${cfg.domain}-start.sh" ''
#!${pkgs.runtimeShell} -e #!${pkgs.runtimeShell} -e
# Register if necessary. # Register if necessary.
${pkgs.certbot}/bin/certbot register ${configArgs} --agree-tos -m ${cfg.letsEncryptAdminEmail} || true ${pkgs.certbot}/bin/certbot register ${configArgs} --non-interactive --agree-tos -m ${cfg.letsEncryptAdminEmail} || true
# Obtain the certificate. # Obtain the certificate.
${pkgs.certbot}/bin/certbot certonly ${configArgs} -n --standalone --domains ${cfg.domain} ${pkgs.certbot}/bin/certbot certonly ${configArgs} --non-interactive --standalone --domains ${cfg.domain}
''; '';
}; };
}; };
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment