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:
parent
27905e2c3a
commit
b73c093d3d
@ -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 = ''
|
||||||
|
Loading…
Reference in New Issue
Block a user