From 0b364718d3bc7bf97085f8b39df6ccfe254cf5ce Mon Sep 17 00:00:00 2001 From: Jonas Nick Date: Fri, 29 Mar 2019 15:53:56 +0000 Subject: [PATCH] Make deployment faster by importing banlist in background instead of waiting for it to finish --- modules/bitcoind.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/bitcoind.nix b/modules/bitcoind.nix index 6eee9ed..bf44035 100644 --- a/modules/bitcoind.nix +++ b/modules/bitcoind.nix @@ -263,7 +263,7 @@ in { done ''; serviceConfig = { - Type = "oneshot"; + Type = "simple"; User = "${cfg.user}"; Group = "${cfg.group}"; ExecStart = "${pkgs.bash}/bin/bash ${pkgs.banlist}/bin/banlist ${pkgs.altcoins.bitcoind}";