tolstoyevsky / cusdeb-single-node

Set of scripts intended for simplifying deployment of CusDeb for developing purposes
Apache License 2.0
1 stars 2 forks source link

Implement the restart command #14

Open mdanil007 opened 6 years ago

mdanil007 commented 6 years ago
sudo ./single-node.sh restart
[sudo] пароль для danil: 
+ export HOST=localhost
+ HOST=localhost
+ export PROXY_PORT=8000
+ PROXY_PORT=8000
+ export DASHBOARD_PORT=8001
+ DASHBOARD_PORT=8001
+ export DJANGO_CONFIGURATION=Docker
+ DJANGO_CONFIGURATION=Docker
+ export BM_PORT=8002
+ BM_PORT=8002
+ export DOMINION_PORT=8003
+ DOMINION_PORT=8003
+ export MONGO_DATABASE=cusdeb
+ MONGO_DATABASE=cusdeb
+ export MONGO_HOST=localhost
+ MONGO_HOST=localhost
+ export MONGO_PORT=33018
+ MONGO_PORT=33018
+ export MONGO_TAG=3.2
+ MONGO_TAG=3.2
+ export PG_DATABASE=cusdeb
+ PG_DATABASE=cusdeb
+ export PG_HOST=localhost
+ PG_HOST=localhost
+ export PG_PASSWORD=secret
+ PG_PASSWORD=secret
+ export PG_PORT=54321
+ PG_PORT=54321
+ export PG_TAG=9.4
+ PG_TAG=9.4
+ export PG_USER=postgres
+ PG_USER=postgres
+ export RABBITMQ_PORT=5672
+ RABBITMQ_PORT=5672
+ export RABBITMQ_TAG=3.7
+ RABBITMQ_TAG=3.7
+ export REDIS_HOST=localhost
+ REDIS_HOST=localhost
+ export REDIS_PORT=63791
+ REDIS_PORT=63791
+ export REDIS_TAG=3.2
+ REDIS_TAG=3.2
+ export 'TOKEN_KEY=gl3q^2f^fh)b=&g)*cah9h5n-d#if9k3s1#tnz2hre$1ea1zd^'
+ TOKEN_KEY='gl3q^2f^fh)b=&g)*cah9h5n-d#if9k3s1#tnz2hre$1ea1zd^'
++ get_owner .
++ ls -ld .
++ awk '{print $3}'
+ export USER=danil
+ USER=danil
+ export VOLUME_PREFIX=/home/danil
+ VOLUME_PREFIX=/home/danil
+ set +x
Info: checking dependencies
stub
eugulixes commented 6 years ago

It says it's a stub right now, so we have to implement it.