James Moger
2011-06-28 1c921915738cdcc68e4a1a910b5f5cdf18c2101e
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.
3 files renamed
3 files modified
14 ■■■■ changed files
distrib/amd64/gitblit.exe patch | view | raw | blame | history
distrib/ia64/gitblit.exe patch | view | raw | blame | history
distrib/installService.cmd 2 ●●● patch | view | raw | blame | history
distrib/uninstallService.cmd 2 ●●● patch | view | raw | blame | history
distrib/x86/gitblit.exe patch | view | raw | blame | history
docs/01_setup.mkd 10 ●●●●● patch | view | raw | blame | history
distrib/amd64/gitblit.exe
Binary files differ
distrib/ia64/gitblit.exe
Binary files differ
distrib/installService.cmd
@@ -13,7 +13,7 @@
@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 ^
distrib/uninstallService.cmd
@@ -2,4 +2,4 @@
SET ARCH=amd64
@REM Delete the gitblit service
"%CD%\%ARCH%\prunsrv.exe" //DS//gitblit
"%CD%\%ARCH%\gitblitv.exe" //DS//gitblit
distrib/x86/gitblit.exe
Binary files differ
docs/01_setup.mkd
@@ -62,6 +62,16 @@
**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.