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.
This commit is contained in:
Erik Arvstedt 2021-10-06 11:27:47 +02:00
parent 27905e2c3a
commit b73c093d3d
No known key found for this signature in database
GPG Key ID: 33312B944DD97846

View File

@ -93,10 +93,10 @@ in {
"d '${cfg.dataDir}' 0770 ${cfg.user} ${cfg.group} - -" "d '${cfg.dataDir}' 0770 ${cfg.user} ${cfg.group} - -"
]; ];
systemd.services.joinmarket-ob-watcher = { systemd.services.joinmarket-ob-watcher = rec {
wantedBy = [ "multi-user.target" ]; wantedBy = [ "multi-user.target" ];
requires = [ "tor.service" ]; requires = [ "tor.service" "bitcoind.service" ];
after = [ "tor.service" ]; after = requires;
# The service writes to HOME/.config/matplotlib # The service writes to HOME/.config/matplotlib
environment.HOME = cfg.dataDir; environment.HOME = cfg.dataDir;
preStart = '' preStart = ''