From: James Moger Date: Wed, 29 Jun 2011 02:37:25 +0000 (-0400) Subject: Windows service changes. Documentation. X-Git-Tag: v0.5.2~33 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=1c921915738cdcc68e4a1a910b5f5cdf18c2101e;p=gitblit.git 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. --- diff --git a/distrib/amd64/gitblit.exe b/distrib/amd64/gitblit.exe new file mode 100644 index 00000000..8169fd82 Binary files /dev/null and b/distrib/amd64/gitblit.exe differ diff --git a/distrib/amd64/prunsrv.exe b/distrib/amd64/prunsrv.exe deleted file mode 100644 index 8169fd82..00000000 Binary files a/distrib/amd64/prunsrv.exe and /dev/null differ diff --git a/distrib/ia64/gitblit.exe b/distrib/ia64/gitblit.exe new file mode 100644 index 00000000..600d5487 Binary files /dev/null and b/distrib/ia64/gitblit.exe differ diff --git a/distrib/ia64/prunsrv.exe b/distrib/ia64/prunsrv.exe deleted file mode 100644 index 600d5487..00000000 Binary files a/distrib/ia64/prunsrv.exe and /dev/null differ 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/gitblit.exe b/distrib/x86/gitblit.exe new file mode 100644 index 00000000..52530d5a Binary files /dev/null and b/distrib/x86/gitblit.exe differ diff --git a/distrib/x86/prunsrv.exe b/distrib/x86/prunsrv.exe deleted file mode 100644 index 52530d5a..00000000 Binary files a/distrib/x86/prunsrv.exe and /dev/null differ 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:**
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.
+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
+	Java Virtual Machine:
+	C:\Program Files\Java\jre6\bin\server\jvm.dll
+ #### Command-Line Parameters Command-Line parameters override the values in `gitblit.properties` at runtime.