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
1 changed files with 3 additions and 3 deletions

View File

@ -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 = ''