bisq/package/stresstest/start.sh
Chris Beams 9d4e015108
Use app scripts instead of fat excutable jars
It doesn't actually work to build fat executable jars because we always
have bouncycastle jars that need to exist outside of the fat jar. This
change drops building fat jars altogether in favor of using Gradle's
built-in `application` plugin to write simple scripts that invoke java
with the correct classpath against a directory of all dependencies
(including bouncycastle) without the need to have a fat jar in the mix.

Essentially, you should now run:

    ./gradlew build
    ./build/app/bin/bisq-desktop [options]

Instead of `java -jar build/libs/bisq-desktop.jar`.

See updated doc/build.md for details.
2018-03-22 02:41:25 +01:00

20 lines
363 B
Bash
Executable file

#!/bin/bash
logpath=/home/bs/bisq/logs
datapath=/home/bs/.local/share
mkdir -p $logpath
cd ../../build
delay=40
# edit start end index
for i in `seq 0 0`;
do
echo $i
nohup build/app/bin/bisq-desktop --app.name=BS_$i --maxConnections=12 >/dev/null 2>$logpath/ST_$i.log &
sleep $delay
done
# kill `ps -ef | grep java | grep -v grep | awk '{print $2}'`