2004-09-04 jrandom

* Added some basic guards to prevent multiple instances from running.
       Specifically, a file "router.ping" in the install directory which is
       written to once a minute - if that file exists and has been modified
       within the last minute, refuse to start up.  In turn, adjust the
       service wrapper to wait a minute before restarting a crashed JVM.
     * Create a "work" directory in the I2P install dir which Jetty will
       use for all of its temporary files.
     * Tell the browser not to cache most of the router console's pages.
This commit is contained in:
jrandom
2004-09-04 21:54:08 +00:00
committed by zzz
parent f72aa7884d
commit db339d40de
6 changed files with 104 additions and 5 deletions

View File

@@ -100,7 +100,7 @@ wrapper.jvm_exit.timeout=60
wrapper.jvm_exit.timeout=30
# give the OS 30s to clear all the old sockets / etc before restarting
#wrapper.restart.delay=30
wrapper.restart.delay=60
# use the wrapper's internal timer thread. otherwise this would
# force a restart of the router during daylight savings time as well