#!/bin/bash -e mkdir -p deploy required=( ${DEX_OVERLORD_DB_URL:?"missing"} ${DEX_OVERLORD_KEY_SECRET:?"missing"} ${DEX_WORKER_DB_URL:?"missing"} ${DEX_WORKER_KEY_SECRET:?"missing"} ) eval "cat < deploy/dex-worker.service eval "cat < deploy/dex-overlord.service