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

View File

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