medved/docker/core/files/run.sh

14 lines
442 B
Bash
Raw Permalink Normal View History

2018-04-02 22:41:10 +00:00
#!/usr/bin/env bash
export CORE_IP=$(host ${CORE_IP} | head -n1 | grep -Po "(\d+\.?){4}")
export MONGO_IP=$(host ${MONGO_IP} | head -n1 | grep -Po "(\d+\.?){4}")
export SELENIUM_IP=$(host ${SELENIUM_IP} | head -n1 | grep -Po "(\d+\.?){4}")
export REDIS_IP=$(host ${REDIS_IP} | head -n1 | grep -Po "(\d+\.?){4}")
/tmp/confd -onetime -backend env
2018-08-04 11:44:27 +00:00
#sudo -u tor tor
2018-04-02 22:41:10 +00:00
2018-08-04 11:44:27 +00:00
#cd /mdvd && proxychains -q python3 medved.py
cd /mdvd && python3 medved.py