mirror of
https://github.com/i2p/i2p.i2p.git
synced 2026-10-23 06:32:32 +00:00
fix paths to pid files (setting them to explicitly point to %TEMP%)
This commit is contained in:
1 parent
dc04414e9a
commit
4e52b9c8d7
1 file changed
+6
-2
@@ -26,6 +26,10 @@
|
||||
:: lameness.
|
||||
::
|
||||
cd /d %~dp0
|
||||
findstr /V /R "^wrapper.logfile=" wrapper.config > wrapper.new
|
||||
findstr /V /R "^wrapper.logfile=" wrapper.config > wrapper.tmp1
|
||||
findstr /V /R "^wrapper.java.pidfile=" wrapper.tmp1 > wrapper.tmp2
|
||||
findstr /V /R "^wrapper.pidfile=" wrapper.tmp2 > wrapper.new
|
||||
del /F /Q wrapper.tmp*
|
||||
echo wrapper.logfile=%%temp%%\wrapper.log >> wrapper.new
|
||||
move wrapper.new wrapper.config
|
||||
echo wrapper.java.pidfile=%%temp%%\routerjvm.pid >> wrapper.new
|
||||
move /Y wrapper.new wrapper.config
|
||||
Reference in new issue
Block a user