diff options
author | James Moger <james.moger@gitblit.com> | 2011-06-28 22:37:25 -0400 |
---|---|---|
committer | James Moger <james.moger@gitblit.com> | 2011-06-28 22:37:25 -0400 |
commit | 1c921915738cdcc68e4a1a910b5f5cdf18c2101e (patch) | |
tree | 94436fdcd2bb9336d3f9891091489584f6515cd6 | |
parent | be0fb213529d9d571078c59e534dbbd6b6cfc46c (diff) | |
download | gitblit-1c921915738cdcc68e4a1a910b5f5cdf18c2101e.tar.gz gitblit-1c921915738cdcc68e4a1a910b5f5cdf18c2101e.zip |
Windows service changes. Documentation.
* Renamed prunsrv.exe to gitblit.exe so that task manager shows
more useful information.
* Documented how to configure the service to use a server VM, if a JDK
is present.
-rw-r--r-- | distrib/amd64/gitblit.exe (renamed from distrib/amd64/prunsrv.exe) | bin | 96256 -> 96256 bytes | |||
-rw-r--r-- | distrib/ia64/gitblit.exe (renamed from distrib/ia64/prunsrv.exe) | bin | 194048 -> 194048 bytes | |||
-rw-r--r-- | distrib/installService.cmd | 2 | ||||
-rw-r--r-- | distrib/uninstallService.cmd | 2 | ||||
-rw-r--r-- | distrib/x86/gitblit.exe (renamed from distrib/x86/prunsrv.exe) | bin | 74240 -> 74240 bytes | |||
-rw-r--r-- | docs/01_setup.mkd | 10 |
6 files changed, 12 insertions, 2 deletions
diff --git a/distrib/amd64/prunsrv.exe b/distrib/amd64/gitblit.exe Binary files differindex 8169fd82..8169fd82 100644 --- a/distrib/amd64/prunsrv.exe +++ b/distrib/amd64/gitblit.exe diff --git a/distrib/ia64/prunsrv.exe b/distrib/ia64/gitblit.exe Binary files differindex 600d5487..600d5487 100644 --- a/distrib/ia64/prunsrv.exe +++ b/distrib/ia64/gitblit.exe diff --git a/distrib/installService.cmd b/distrib/installService.cmd index 42225890..77b641e8 100644 --- a/distrib/installService.cmd +++ b/distrib/installService.cmd @@ -13,7 +13,7 @@ SET ARCH=amd64 @REM Be careful not to introduce trailing whitespace after the ^ characters.
@REM Use ; or # to separate values in the --StartParams parameter.
-"%CD%\%ARCH%\prunsrv.exe" //IS//gitblit ^
+"%CD%\%ARCH%\gitblit.exe" //IS//gitblit ^
--DisplayName="gitblit" ^
--Description="a pure Java Git solution" ^
--Startup=auto ^
diff --git a/distrib/uninstallService.cmd b/distrib/uninstallService.cmd index a40823fc..481983cd 100644 --- a/distrib/uninstallService.cmd +++ b/distrib/uninstallService.cmd @@ -2,4 +2,4 @@ SET ARCH=amd64
@REM Delete the gitblit service
-"%CD%\%ARCH%\prunsrv.exe" //DS//gitblit
\ No newline at end of file +"%CD%\%ARCH%\gitblitv.exe" //DS//gitblit
\ No newline at end of file diff --git a/distrib/x86/prunsrv.exe b/distrib/x86/gitblit.exe Binary files differindex 52530d5a..52530d5a 100644 --- a/distrib/x86/prunsrv.exe +++ b/distrib/x86/gitblit.exe diff --git a/docs/01_setup.mkd b/docs/01_setup.mkd index eca0be25..a601e682 100644 --- a/docs/01_setup.mkd +++ b/docs/01_setup.mkd @@ -62,6 +62,16 @@ Additional service definition options and runtime capabilities of `gitblitw.exe` **NOTE:**<br/>
If you change the name of the service from *gitblit* you must also change the name of `gitblitw.exe` to match the new service name otherwise the connection between the service and the utility is lost, at least to double-click execution.
+#### VM Considerations
+By default, the service installation script configures your Windows service to use your default JVM. This setup usually defaults to a client VM.<br/>
+If you have installed a JDK, you might consider using the `gitblitw.exe` utility to manually specify the *server* VM.
+
+1. Execute `gitblitw.exe`
+2. On the *Java* tab uncheck *Use default*.
+3. Manually navigate your filesystem and specify the server VM with the `...` button<br/><pre>
+ Java Virtual Machine:
+ C:\Program Files\Java\jre6\bin\server\jvm.dll</pre>
+
#### Command-Line Parameters
Command-Line parameters override the values in `gitblit.properties` at runtime.
|