medved/docker/worker/files/run.sh

7 lines
209 B
Bash
Raw 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}")
/tmp/confd -onetime -backend env
cd /mdvd && proxychains -q rq worker high normal low -u "redis://${REDIS_IP}:6379/"