]> source.dussan.org Git - gitblit.git/commitdiff
Windows service changes. Documentation.
authorJames Moger <james.moger@gitblit.com>
Wed, 29 Jun 2011 02:37:25 +0000 (22:37 -0400)
committerJames Moger <james.moger@gitblit.com>
Wed, 29 Jun 2011 02:37:25 +0000 (22:37 -0400)
* 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.

distrib/amd64/gitblit.exe [new file with mode: 0644]
distrib/amd64/prunsrv.exe [deleted file]
distrib/ia64/gitblit.exe [new file with mode: 0644]
distrib/ia64/prunsrv.exe [deleted file]
distrib/installService.cmd
distrib/uninstallService.cmd
distrib/x86/gitblit.exe [new file with mode: 0644]
distrib/x86/prunsrv.exe [deleted file]
docs/01_setup.mkd

diff --git a/distrib/amd64/gitblit.exe b/distrib/amd64/gitblit.exe
new file mode 100644 (file)
index 0000000..8169fd8
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 (file)
index 8169fd8..0000000
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 (file)
index 0000000..600d548
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 (file)
index 600d548..0000000
Binary files a/distrib/ia64/prunsrv.exe and /dev/null differ
index 42225890cdff4985c9fa0b8c3611ae6c0f5feca0..77b641e8c92ddb98f558671f2cf4672e3e044261 100644 (file)
@@ -13,7 +13,7 @@ SET ARCH=amd64
 \r
 @REM Be careful not to introduce trailing whitespace after the ^ characters.\r
 @REM Use ; or # to separate values in the --StartParams parameter.\r
-"%CD%\%ARCH%\prunsrv.exe"  //IS//gitblit ^\r
+"%CD%\%ARCH%\gitblit.exe"  //IS//gitblit ^\r
                 --DisplayName="gitblit" ^\r
                 --Description="a pure Java Git solution" ^\r
                 --Startup=auto ^\r
index a40823fcf7740b00303822dadaad324023cc4b9e..481983cda62023994915ed78d15d8792f1c099d6 100644 (file)
@@ -2,4 +2,4 @@
 SET ARCH=amd64\r
 \r
 @REM Delete the gitblit service\r
-"%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 (file)
index 0000000..52530d5
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 (file)
index 52530d5..0000000
Binary files a/distrib/x86/prunsrv.exe and /dev/null differ
index eca0be25d1e64ca7c823ba89251d4009a498ef63..a601e682fb7dc10a05c813e17b02c5cd01f17d83 100644 (file)
@@ -62,6 +62,16 @@ Additional service definition options and runtime capabilities of `gitblitw.exe`
 **NOTE:**<br/>\r
 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. \r
 \r
+#### VM Considerations\r
+By default, the service installation script configures your Windows service to use your default JVM.  This setup usually defaults to a client VM.<br/>\r
+If you have installed a JDK, you might consider using the `gitblitw.exe` utility to manually specify the *server* VM.\r
+\r
+1. Execute `gitblitw.exe`\r
+2. On the *Java* tab uncheck *Use default*.\r
+3. Manually navigate your filesystem and specify the server VM with the `...` button<br/><pre>\r
+       Java Virtual Machine:\r
+       C:\Program Files\Java\jre6\bin\server\jvm.dll</pre>\r
+\r
 #### Command-Line Parameters\r
 Command-Line parameters override the values in `gitblit.properties` at runtime.\r
 \r