123456789101112131415161718192021222324252627 |
- if [ "$USER" == "huguanrui" ]; then
- export LOG_DIR=/Users/huguanrui/git/src/github.com/matrix-org/dendrite/log
- export ENABLE_MONITOR="false"
- export MONITOR_PORT="7000"
- export RUN_ENV="huguanrui"
- sh ./config/env.sh
- ./bin/engine-server --name=monolith-server --config=./config/dendrite.yaml --http-address=:8008 --https-address=:443 --tls-cert=./config/server.crt --tls-key=./config/server.key
- #./bin/engine-server --name=front-server --config=./config/dendrite.yaml --http-address=:8008
- #./bin/engine-server --name=api-gw --config=./config/dendrite.yaml --http-address=:8008
- elif [ "$USER" == "joey" ]; then
- export LOG_DIR=./log
- export ENABLE_MONITOR="false"
- export MONITOR_PORT="7000"
- export RUN_ENV="joey"
- sh ./config/env.sh
- ./bin/engine-server --name=monolith-server --config=./config/dendrite.yaml --http-address=:8008
- elif [ "$USER" == "letolin" ]; then
- export LOG_DIR=./log
- export ENABLE_MONITOR="false"
- export MONITOR_PORT="7000"
- export RUN_ENV="letolin"
- sh ./config/env.sh
- ./bin/engine-server --name=monolith-server --config=./config/dendrite.yaml --http-address=:8008
- else
- export LOG_DIR=/root/dendrite/dendrite/log
- ./bin/dendrite-monolith-server --config=./config/dendrite-release.yaml --tls-cert=./config/server.crt --tls-key=./config/server.key
- fi
|