mirror of
https://github.com/bisq-network/bisq.git
synced 2024-11-19 01:41:11 +01:00
Regtest: Don't kill old instances
This commit is contained in:
parent
f872d41d30
commit
3930966f3e
@ -32,12 +32,6 @@ abstract class StartBisqTask : DefaultTask() {
|
||||
|
||||
@TaskAction
|
||||
fun run() {
|
||||
ProcessKiller(pidFile.asFile.get())
|
||||
.kill()
|
||||
|
||||
// Wait until process stopped
|
||||
Thread.sleep(5000)
|
||||
|
||||
val processBuilder = ProcessBuilder(
|
||||
javaExecutable.asFile.get().absolutePath,
|
||||
|
||||
|
@ -28,12 +28,6 @@ abstract class StartBitcoindTask : DefaultTask() {
|
||||
|
||||
@TaskAction
|
||||
fun run() {
|
||||
ProcessKiller(pidFile.asFile.get())
|
||||
.kill()
|
||||
|
||||
// Wait until process stopped
|
||||
Thread.sleep(5000)
|
||||
|
||||
val processBuilder = ProcessBuilder(
|
||||
"bitcoind",
|
||||
"-datadir=${dataDirectory.asFile.get().absolutePath}",
|
||||
|
Loading…
Reference in New Issue
Block a user