Chore: add udp-timeout option to docker image

This commit is contained in:
xjasonlyu
2021-02-28 14:16:23 +08:00
parent 9502706ed9
commit 6887c1180e
2 changed files with 5 additions and 0 deletions
+4
View File
@@ -69,6 +69,10 @@ main() {
ARGS="$ARGS -token $TOKEN"
fi
if [ -n "$UDP_TIMEOUT" ]; then
ARGS="$ARGS -udp-timeout $UDP_TIMEOUT"
fi
exec tun2socks \
-loglevel "$LOGLEVEL" \
-fwmark "$FWMARK" \