Make deployment faster by importing banlist in background instead of waiting for it to finish

This commit is contained in:
Jonas Nick 2019-03-29 15:53:56 +00:00
parent 28f7bfee7e
commit 0b364718d3
No known key found for this signature in database
GPG Key ID: 4861DBF262123605

View File

@ -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}";