From b542b1879ba216d98fbaaeb8e14aaff09675f928 Mon Sep 17 00:00:00 2001 From: Florian Sesser <florian@private.storage> Date: Thu, 2 Sep 2021 14:24:35 +0000 Subject: [PATCH] Make path check a stronger Assertion instead of a Condition --- nixos/modules/issuer.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/issuer.nix b/nixos/modules/issuer.nix index 3c293e70..368b24ca 100644 --- a/nixos/modules/issuer.nix +++ b/nixos/modules/issuer.nix @@ -173,7 +173,7 @@ in { # Bail if there is still an old (root-owned) DB file on this system. # If you hit this, and this /var/db/ file is indeed current, move it to # /var/lib/zkapissuer/vouchers.sqlite3 and chown it to zkapissuer:zkapissuer. - unitConfig.ConditionPathExists = "!/var/db/vouchers.sqlite3"; + unitConfig.AssertPathExists = "!/var/db/vouchers.sqlite3"; script = let -- GitLab