Merge branch 'fix-banlist'
This commit is contained in:
commit
ba387907db
@ -237,12 +237,13 @@ in {
|
|||||||
PermissionsStartOnly = "true";
|
PermissionsStartOnly = "true";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
systemd.services.bitcoind-add-banlist = {
|
systemd.services.bitcoind-import-banlist = {
|
||||||
description = "Bitcoin daemon banlist adder";
|
description = "Bitcoin daemon banlist importer";
|
||||||
requires = [ "bitcoind.service" ];
|
requires = [ "bitcoind.service" ];
|
||||||
after = [ "bitcoind.service" ];
|
after = [ "bitcoind.service" ];
|
||||||
wantedBy = [ "multi-user.target" ];
|
wantedBy = [ "multi-user.target" ];
|
||||||
preStart = ''
|
preStart = ''
|
||||||
|
set +e
|
||||||
echo "Checking that bitcoind is up"
|
echo "Checking that bitcoind is up"
|
||||||
# Give bitcoind time to create pid file
|
# Give bitcoind time to create pid file
|
||||||
sleep 2
|
sleep 2
|
||||||
|
Loading…
Reference in New Issue
Block a user