mirror of
https://github.com/bisq-network/bisq.git
synced 2024-11-19 09:52:23 +01:00
Do not "killall bitcoind" processes
Just kill the one we started.
This commit is contained in:
parent
4296d96d40
commit
7d664d9cfd
@ -88,7 +88,7 @@ public class BitcoinDaemon extends AbstractLinuxProcess implements LinuxProcess
|
||||
if (!isAlive(pid))
|
||||
throw new IllegalStateException("bitcoind already shut down");
|
||||
|
||||
if (new BashCommand("killall bitcoind").run().getExitStatus() != 0)
|
||||
if (new BashCommand("kill -15 " + pid).run().getExitStatus() != 0)
|
||||
throw new IllegalStateException("Could not shut down bitcoind; probably already stopped.");
|
||||
|
||||
MILLISECONDS.sleep(2000); // allow it time to shutdown
|
||||
|
Loading…
Reference in New Issue
Block a user