mirror of
https://github.com/yusing/godoxy.git
synced 2025-05-20 12:42:34 +02:00
11 lines
No EOL
205 B
Bash
11 lines
No EOL
205 B
Bash
#!/bin/bash
|
|
if [ "$1" == "restart" ]; then
|
|
echo "restarting"
|
|
killall go-proxy
|
|
fi
|
|
if [ "$DEBUG" == "1" ]; then
|
|
/app/go-proxy 2> log/go-proxy.log &
|
|
tail -f /dev/null
|
|
else
|
|
/app/go-proxy
|
|
fi |