From 9a97eb1de700d1316b1202eaabce7e9f26c40434 Mon Sep 17 00:00:00 2001 From: niten Date: Mon, 28 Aug 2023 13:22:23 -0700 Subject: [PATCH] Don't try to start if we don't have a password --- module.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/module.nix b/module.nix index 7a21213..91d5df2 100644 --- a/module.nix +++ b/module.nix @@ -72,6 +72,7 @@ in { Restart = "always"; StandardOutput = "journal"; }; + unitConfig.ConditionPathExists = [ cfg.mqtt.password-file ]; }; }; }