docker-swag/root/etc/s6-overlay/s6-rc.d/init-require-url/run

9 lines
281 B
Plaintext
Raw Normal View History

#!/usr/bin/with-contenv bash
2022-11-22 15:55:25 -05:00
# shellcheck shell=bash
# check to make sure that the required variables are set
if [[ -z "${URL}" ]]; then
echo "Please pass your URL as an environment variable in your docker run command. See docker info for more details."
sleep infinity
fi