Files
xTeVe/docker/entrypoint.sh

10 lines
189 B
Bash
Executable File

#!/bin/sh
set -eu
CONFIG_DIR="${XTEVE_CONFIG:-/xteve/config}"
PORT="${XTEVE_PORT:-34400}"
mkdir -p "${CONFIG_DIR}"
exec /usr/local/bin/xteve -config "${CONFIG_DIR}" -port "${PORT}" "$@"