source: installer/java/src/startRouter.sh.template @ 77bd69c

i2p_0_3_0_3
Last change on this file since 77bd69c was 77bd69c, checked in by zzz <zzz@…>, 17 years ago

beginning of branch i2p.i2p.i2p

  • Property mode set to 100644
File size: 487 bytes
Line 
1#!/bin/sh
2cd ##_scripts_installdir##
3export LD_LIBRARY_PATH=.:$LD_LIBRARY_PATH
4# the -XX args are workarounds for bugs in java 1.4.2's garbage collector
5nohup nice java -cp lib/i2p.jar:lib/router.jar -Djava.library.path=. -DloggerFilenameOverride=logs/log-router-#.txt -XX:NewSize=4M -XX:MaxNewSize=8M -XX:PermSize=8M -XX:MaxPermSize=32M net.i2p.router.Router --quiet > /dev/null &
6# Save the pid just in case we ever want to stop the router
7echo $! > router.pid
8echo I2P Router started
Note: See TracBrowser for help on using the repository browser.