Skip to content

Commit af1147c

Browse files
committed
return start dumbproxy as service
1 parent 6f503e9 commit af1147c

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

  • rootfs/etc

rootfs/etc/openvpn/up.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ then
2222
ip rule add table $country from $ifconfig_local
2323

2424
fi
25-
killall -9 dumbproxy
26-
/usr/local/bin/dumbproxy ${CMD_OPTS} -ip-hints "$ifconfig_local" -bind-address 0.0.0.0:8888 &
25+
#killall -9 dumbproxy
26+
#/usr/local/bin/dumbproxy ${CMD_OPTS} -ip-hints "$ifconfig_local" -bind-address 0.0.0.0:8888 &
2727

2828
exit 0

rootfs/etc/service/dumbproxy/run

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/bin/sh -e
22

33
# pipe stderr to stdout and run nginx omiting ENV vars to avoid security leaks
4-
#exec 2>&1
5-
#exec env - PATH=$PATH /usr/local/bin/dumbproxy ${PROXY_AUTH} -bind-address 0.0.0.0:8888
4+
exec 2>&1
5+
exec env - PATH=$PATH /usr/local/bin/dumbproxy ${PROXY_AUTH} -bind-address 0.0.0.0:8888

0 commit comments

Comments
 (0)