medved/docker/worker/files/run.sh

8 lines
195 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
2018-08-04 11:44:27 +00:00
cd /mdvd && rq worker high normal low -u "redis://${REDIS_IP}:6379/"