git-subtree-dir: ha-socks5-proxy git-subtree-split: 1442b26111063f98f0fe39db61f2f8da32893285
14 lines
314 B
Bash
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
|