mirror of
https://github.com/yusing/godoxy.git
synced 2026-03-25 10:31:30 +01:00
added load balance support and verbose level
This commit is contained in:
12
entrypoint.sh
Normal file
12
entrypoint.sh
Normal file
@@ -0,0 +1,12 @@
|
||||
#!/bin/bash
|
||||
if [ "$1" == "restart" ]; then
|
||||
killall go-proxy
|
||||
fi
|
||||
if [ "$DEBUG" == "1" ]; then
|
||||
/app/go-proxy -v=$VERBOSITY -log_dir=log --stderrthreshold=0 &
|
||||
if [ "$1" != "restart" ]; then
|
||||
tail -f /dev/null
|
||||
fi
|
||||
else
|
||||
/app/go-proxy -v=$VERBOSITY -log_dir=log --stderrthreshold=0 &
|
||||
fi
|
||||
Reference in New Issue
Block a user