From b73c093d3dcb76e91a5ca881ed729cf46643a748 Mon Sep 17 00:00:00 2001 From: Erik Arvstedt Date: Wed, 6 Oct 2021 11:27:47 +0200 Subject: [PATCH] joinmarket-ob-watcher: require nix-bitcoin.service This caused failures in the tests which were ignored because ob-watcher was expected to fail for other reasons. --- modules/joinmarket-ob-watcher.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/joinmarket-ob-watcher.nix b/modules/joinmarket-ob-watcher.nix index b5378b5..faa485c 100644 --- a/modules/joinmarket-ob-watcher.nix +++ b/modules/joinmarket-ob-watcher.nix @@ -93,10 +93,10 @@ in { "d '${cfg.dataDir}' 0770 ${cfg.user} ${cfg.group} - -" ]; - systemd.services.joinmarket-ob-watcher = { + systemd.services.joinmarket-ob-watcher = rec { wantedBy = [ "multi-user.target" ]; - requires = [ "tor.service" ]; - after = [ "tor.service" ]; + requires = [ "tor.service" "bitcoind.service" ]; + after = requires; # The service writes to HOME/.config/matplotlib environment.HOME = cfg.dataDir; preStart = ''