Commit a85f9a3d authored by Brendan Melville's avatar Brendan Melville

Need to nohup these so they detach from current terminal process.

parent 0793a2df
...@@ -18,7 +18,7 @@ if [[ -z $RESOURCIFIER ]] ; then ...@@ -18,7 +18,7 @@ if [[ -z $RESOURCIFIER ]] ; then
exit 1 exit 1
fi fi
pkill -f $RESOURCIFIER pkill -f $RESOURCIFIER
$RESOURCIFIER > $LOGDIR/resourcifier.log 2>&1 --kubectl=$KUBECTL --port=8082 & nohup $RESOURCIFIER > $LOGDIR/resourcifier.log 2>&1 --kubectl=$KUBECTL --port=8082 &
echo echo
echo "Starting expandybird..." echo "Starting expandybird..."
...@@ -28,7 +28,7 @@ if [[ -z $EXPANDYBIRD ]] ; then ...@@ -28,7 +28,7 @@ if [[ -z $EXPANDYBIRD ]] ; then
exit 1 exit 1
fi fi
pkill -f $EXPANDYBIRD pkill -f $EXPANDYBIRD
$EXPANDYBIRD > $LOGDIR/expandybird.log 2>&1 --port=8081 --expansion_binary=expandybird/expansion/expansion.py & nohup $EXPANDYBIRD > $LOGDIR/expandybird.log 2>&1 --port=8081 --expansion_binary=expandybird/expansion/expansion.py &
echo echo
echo "Starting deployment manager..." echo "Starting deployment manager..."
...@@ -38,7 +38,7 @@ if [[ -z $MANAGER ]] ; then ...@@ -38,7 +38,7 @@ if [[ -z $MANAGER ]] ; then
exit 1 exit 1
fi fi
pkill -f $MANAGER pkill -f $MANAGER
$MANAGER > $LOGDIR/manager.log 2>&1 --port=8080 --expanderURL=http://localhost:8081 --deployerURL=http://localhost:8082 & nohup $MANAGER > $LOGDIR/manager.log 2>&1 --port=8080 --expanderURL=http://localhost:8081 --deployerURL=http://localhost:8082 &
echo echo
echo "Creating dm namespace..." echo "Creating dm namespace..."
...@@ -51,7 +51,7 @@ echo ...@@ -51,7 +51,7 @@ echo
echo "Starting kubectl proxy..." echo "Starting kubectl proxy..."
pkill -f "$KUBECTL proxy" pkill -f "$KUBECTL proxy"
$KUBECTL proxy --port=8001 --namespace=dm & nohup $KUBECTL proxy --port=8001 --namespace=dm &
sleep 1s sleep 1s
echo echo
......
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