Files
ha-addons/run.sh
Pedan e5b142fcc7 Squashed 'ha-socks5-proxy/' content from commit 1442b26
git-subtree-dir: ha-socks5-proxy
git-subtree-split: 1442b26111063f98f0fe39db61f2f8da32893285
2025-11-03 07:49:53 +00:00

14 lines
314 B
Bash

#!/usr/bin/with-contenv bashio
PROXY_USER=$(bashio::config 'proxy_user')
PROXY_PASSWORD=$(bashio::config 'proxy_password')
PROXY_PORT=$(bashio::config 'proxy_port')
export PROXY_USER
export PROXY_PASSWORD
export PROXY_PORT
bashio::log.info "Starting SOCKS5 Proxy on port ${PROXY_PORT}..."
exec /app/bin/server