add optional parameter bindaddress to optionally restrict the ipaddresses brouter listens on

This commit is contained in:
ntruchsess 2017-12-03 13:22:01 +01:00
parent 04e2491f4d
commit 7f2a7ce215
2 changed files with 13 additions and 3 deletions

View file

@ -0,0 +1,10 @@
#!/bin/sh
# BRouter standalone server
# java -cp brouter.jar btools.brouter.RouteServer <segmentdir> <profile-map> <customprofiledir> <port> <maxthreads> [bindaddress]
# maxRunningTime is the request timeout in seconds, set to 0 to disable timeout
JAVA_OPTS="-Xmx128M -Xms128M -Xmn8M -DmaxRunningTime=300"
CLASSPATH=../brouter.jar
java $JAVA_OPTS -cp $CLASSPATH btools.server.RouteServer ../segments4 ../profiles2 ../customprofiles 17777 1 localhost