1234567891011121314151617181920 |
- 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"
- export SERVER_NAME="dendrite2"
- sh ./config/env.sh
- ./bin/engine-server --name=monolith-server --config=./config/dendrite.yaml --http-address=:8009
- #./bin/engine-server --name=front-server --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
- 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
|