Skip to content
This repository has been archived by the owner on Jun 6, 2024. It is now read-only.

Commit

Permalink
update cargo run command
Browse files Browse the repository at this point in the history
  • Loading branch information
J-HowHuang committed Apr 26, 2024
1 parent e91ea92 commit b48dfc6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions server/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -50,19 +50,19 @@ redis-cli --cluster create $SERVER_IP:6379 $SERVER_IP:6380 $SERVER_IP:6381 --clu
echo "Redis cluster created."

# Starting the application servers
REDIS_PORT=6379 cargo run --\
REDIS_PORT=6379 cargo run --bin istziio_server_node --\
--server-ip $SERVER_IP \
--bucket "istziio-bucket" \
--region "us-east-1" \
--access-key "$AWS_ACCESS_KEY_ID" \
--secret-key "$AWS_SECRET_ACCESS_KEY" > "${LOG_DIR}/app_6379.log" 2>&1 &
REDIS_PORT=6380 cargo run --\
REDIS_PORT=6380 cargo run --bin istziio_server_node --\
--server-ip $SERVER_IP \
--bucket "istziio-bucket" \
--region "us-east-1" \
--access-key "$AWS_ACCESS_KEY_ID" \
--secret-key "$AWS_SECRET_ACCESS_KEY" > "${LOG_DIR}/app_6380.log" 2>&1 &
REDIS_PORT=6381 cargo run --\
REDIS_PORT=6381 cargo run --bin istziio_server_node --\
--server-ip $SERVER_IP \
--bucket "istziio-bucket" \
--region "us-east-1" \
Expand Down

0 comments on commit b48dfc6

Please sign in to comment.