Skip to content

Commit 1f62110

Browse files
author
Paul Korzhyk
committed
Rename server to alpha in functions.sh
1 parent aae0b9a commit 1f62110

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

scripts/functions.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ if [[ "$TRAVIS" == true ]]; then
66
fi
77

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

2727
function start {
28-
echo -e "Starting first server."
29-
dgraph server -p data/p -w data/w --lru_mb 4096 --zero localhost:5080 > data/server.log 2>&1 &
28+
echo -e "Starting Dgraph alpha."
29+
dgraph alpha -p data/p -w data/w --lru_mb 4096 --zero localhost:5080 > data/server.log 2>&1 &
3030
# Wait for membership sync to happen.
3131
sleep $sleepTime
3232
return 0

0 commit comments

Comments
 (0)