From 4cd41382c2acbdcf4c92afefe76f85cfc6d44e7e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Motiejus=20Jak=C5=A1tys?= Date: Mon, 7 Aug 2023 14:55:45 +0300 Subject: [PATCH] nsd-control-setup: try to fix triggering conditions --- hosts/vno1-oh2/configuration.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/hosts/vno1-oh2/configuration.nix b/hosts/vno1-oh2/configuration.nix index 4279974..9923ec2 100644 --- a/hosts/vno1-oh2/configuration.nix +++ b/hosts/vno1-oh2/configuration.nix @@ -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";