Merge commit 'e5b142fcc7a66f8363705d4725aefb3c5302159c' as 'ha-socks5-proxy'
This commit is contained in:
13
ha-socks5-proxy/run.sh
Normal file
13
ha-socks5-proxy/run.sh
Normal file
@@ -0,0 +1,13 @@
|
||||
#!/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
|
||||
Reference in New Issue
Block a user