Skip to content

Commit

Permalink
Merge pull request #47 from MichelDiz/master
Browse files Browse the repository at this point in the history
update Scripts - fixes CI build issues.
  • Loading branch information
MichelDiz committed Feb 13, 2019
2 parents 18fa97c + 0f08a1e commit 74f6ca5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions scripts/functions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ if [[ "$TRAVIS" == true ]]; then
fi

function quit {
echo "Shutting down Dgraph server and zero."
echo "Shutting down Dgraph Alpha and zero."
curl -s localhost:8080/admin/shutdown
# Kill Dgraph zero.
kill -9 $(pgrep -f "dgraph zero") > /dev/null
Expand All @@ -25,8 +25,8 @@ function quit {
}

function start {
echo -e "Starting first server."
dgraph server -p data/p -w data/w --lru_mb 4096 --zero localhost:5080 > data/server.log 2>&1 &
echo -e "Starting first Alpha."
dgraph alpha -p data/p -w data/w --lru_mb 4096 --zero localhost:5080 > data/alpha.log 2>&1 &
# Wait for membership sync to happen.
sleep $sleepTime
return 0
Expand Down
2 changes: 1 addition & 1 deletion scripts/install_dgraph.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#!/bin/bash

curl https://get.dgraph.io -sSf | bash -s nightly
curl https://get.dgraph.io -sSf | bash -s -- -y

0 comments on commit 74f6ca5

Please sign in to comment.