Squashed 'ha-socks5-proxy/' content from commit 1442b26
git-subtree-dir: ha-socks5-proxy git-subtree-split: 1442b26111063f98f0fe39db61f2f8da32893285
This commit is contained in:
13
run.sh
Normal file
13
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