Merge branch 'fix-banlist'

This commit is contained in:
Jonas Nick 2019-03-29 09:48:33 +00:00
commit ba387907db
No known key found for this signature in database
GPG Key ID: 4861DBF262123605

View File

@ -237,12 +237,13 @@ in {
PermissionsStartOnly = "true";
};
};
systemd.services.bitcoind-add-banlist = {
description = "Bitcoin daemon banlist adder";
systemd.services.bitcoind-import-banlist = {
description = "Bitcoin daemon banlist importer";
requires = [ "bitcoind.service" ];
after = [ "bitcoind.service" ];
wantedBy = [ "multi-user.target" ];
preStart = ''
set +e
echo "Checking that bitcoind is up"
# Give bitcoind time to create pid file
sleep 2