Commit ce2a7997 authored by Adam Reese's avatar Adam Reese

Merge pull request #389 from adamreese/fix/start-local

fix(devtools): prevent start-local.sh from killing process
parents 98d55018 8cd947cb
......@@ -24,9 +24,6 @@ require_binary_exists() {
for b in $RESOURCIFIER $EXPANDYBIRD $MANAGER; do
require_binary_exists $b
# kill if currently running
pkill -f $b
done
LOGDIR=log
......@@ -37,12 +34,15 @@ fi
KUBECTL=$(which kubectl) || error_exit "Cannot find kubectl"
echo "Starting resourcifier..."
pkill -f $RESOURCIFIER
nohup $RESOURCIFIER > $LOGDIR/resourcifier.log 2>&1 --kubectl="${KUBECTL}" --port=8082 &
echo "Starting expandybird..."
pkill -f $EXPANDYBIRD
nohup $EXPANDYBIRD > $LOGDIR/expandybird.log 2>&1 --port=8081 --expansion_binary=expansion/expansion.py &
echo "Starting deployment manager..."
pkill -f $MANAGER
nohup $MANAGER > $LOGDIR/manager.log 2>&1 --port="${MANAGER_PORT}" --kubectl="${KUBECTL}" --expanderURL=http://localhost:8081 --deployerURL=http://localhost:8082 &
if [[ "$KUBE_PROXY" ]]; then
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment