nsd-acme: optionalString
This commit is contained in:
parent
96388ab0d9
commit
92f69eabfa
|
@ -134,10 +134,7 @@ in {
|
|||
ExecStart = let
|
||||
hook = mkHook zone;
|
||||
days = builtins.toString cfg.days;
|
||||
staging =
|
||||
if cfg.staging
|
||||
then "--staging"
|
||||
else "";
|
||||
staging = lib.optionalString cfg.staging "--staging";
|
||||
in "${pkgs.uacme}/bin/uacme -c \${STATE_DIRECTORY} --verbose --days ${days} --hook ${hook} ${staging} issue ${zone}";
|
||||
|
||||
UMask = "0022";
|
||||
|
|
Loading…
Reference in New Issue