mirror of
https://github.com/yusing/godoxy.git
synced 2025-05-20 04:42:33 +02:00
12 lines
No EOL
305 B
Bash
12 lines
No EOL
305 B
Bash
#!/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 |