12 lines
317 B
JavaScript
Executable File
12 lines
317 B
JavaScript
Executable File
#!/bin/bash
|
|
|
|
# helper script to run bwdb and/or restart it
|
|
|
|
# execute thie script and then simply tail /tmp/bwdb-out
|
|
# e.g. ./contrib/restart_bwdb.sh && tail -f /tmp/bwdb-out
|
|
|
|
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
|
pkill -2 -x flocore
|
|
wait
|
|
exec $DIR/../bin/flocore-node start >> /tmp/bwdb-out 2>&1 &
|