nsd: ConditionPathExists all files
This commit is contained in:
parent
125ebdac56
commit
9a7e42b95d
@ -188,7 +188,12 @@
|
|||||||
systemd.services.nsd-control-setup = {
|
systemd.services.nsd-control-setup = {
|
||||||
requiredBy = ["nsd.service"];
|
requiredBy = ["nsd.service"];
|
||||||
before = ["nsd.service"];
|
before = ["nsd.service"];
|
||||||
unitConfig.ConditionPathExists = "!/etc/nsd/nsd_control.pem";
|
unitConfig.ConditionPathExists = [
|
||||||
|
"!/etc/nsd/nsd_control.key"
|
||||||
|
"!/etc/nsd/nsd_control.pem"
|
||||||
|
"!/etc/nsd/nsd_server.key"
|
||||||
|
"!/etc/nsd/nsd_server.pem"
|
||||||
|
];
|
||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
Type = "oneshot";
|
Type = "oneshot";
|
||||||
UMask = 0077;
|
UMask = 0077;
|
||||||
|
Loading…
Reference in New Issue
Block a user