nsd-control-setup: try to fix triggering conditions

This commit is contained in:
Motiejus Jakštys 2023-08-07 14:55:45 +03:00
parent 9a7e42b95d
commit 4cd41382c2
1 changed files with 4 additions and 4 deletions

View File

@ -189,10 +189,10 @@
requiredBy = ["nsd.service"];
before = ["nsd.service"];
unitConfig.ConditionPathExists = [
"!/etc/nsd/nsd_control.key"
"!/etc/nsd/nsd_control.pem"
"!/etc/nsd/nsd_server.key"
"!/etc/nsd/nsd_server.pem"
"|!/etc/nsd/nsd_control.key"
"|!/etc/nsd/nsd_control.pem"
"|!/etc/nsd/nsd_server.key"
"|!/etc/nsd/nsd_server.pem"
];
serviceConfig = {
Type = "oneshot";