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

comment both these sections

reordering/reformatting just to make commenting easier
parent f2ab651b
Branches
No related tags found
1 merge request!16Deploy PaymentServer
...@@ -82,13 +82,19 @@ in { ...@@ -82,13 +82,19 @@ in {
enable = true; enable = true;
description = "ZKAP Issuer"; description = "ZKAP Issuer";
wantedBy = [ "multi-user.target" ]; wantedBy = [ "multi-user.target" ];
# Make sure we have a certificate the first time, if we are running over
# TLS and require a certificate.
requires = lib.optional cfg.tls "cert-${cfg.domain}";
after = [ after = [
# Make sure there is a network so we can bind to all of the # Make sure there is a network so we can bind to all of the
# interfaces. # interfaces.
"network.target" "network.target"
]; ] ++
# Make sure we at least have a certificate. # Make sure we run after the certificate is issued, if we are running
requires = lib.optional cfg.tls "cert-${cfg.domain}"; # over TLS and require a certificate.
lib.optional cfg.tls "cert-${cfg.domain}";
serviceConfig = { serviceConfig = {
ExecStart = ExecStart =
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment