nsd: nsd_control.pem is the last thing in nsd-control-setup

This commit is contained in:
Motiejus Jakštys 2023-08-07 08:26:48 +03:00
parent 993487bea8
commit b7908a51fb
1 changed files with 1 additions and 3 deletions

View File

@ -190,9 +190,7 @@
systemd.services.nsd-control-setup = {
requiredBy = ["nsd.service"];
before = ["nsd.service"];
unitConfig = {
ConditionPathExists = "!/etc/nsd/nsd_control.key";
};
unitConfig.ConditionPathExists = "!/etc/nsd/nsd_control.pem";
serviceConfig = {
Type = "oneshot";
UMask = 0077;