docker-swag/root/etc/s6-overlay/s6-rc.d/init-require-url/run
2023-01-20 22:42:13 -06:00

9 lines
281 B
Plaintext
Executable File

#!/usr/bin/with-contenv bash
# 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