Set way to start the windows service GitBlit

1. In Gitblit directory, find installService.cmd file.

 

2. Open a notepad or notepad ++

  2.1 modify ARCH

    System 32: SET ARCH = x86 

    System 64: SET ARCH = amd64

  2.2 CD to add program directory

    SET CD = D: \ Program Files \ gitblit-1.8.0 (your actual directory)

  2.3 modify StartParams in the startup parameters, to empty it

 

3. Save and close the file, installService.cmd double-click the file in the directory Gitblit (Run as Administrator)

 

4. Under the service management server, you can see that already exists gitblit service, as long as the service is to start keeping gitblit state, gitblit can be used normally.

 

Guess you like

Origin www.cnblogs.com/aaronguo/p/11263093.html