Change BITBUCKET_HOME when installed as a Windows service

お困りですか?

アトラシアン コミュニティをご利用ください。

コミュニティに質問

When Bitbucket Server is installed as a Windows service, the Bitbucket home directory location, defined by the BITBUCKET_HOME variable in setenv.bat, is not used. This is because the Bitbucket Server service has the -Dbitbucket.home hardcoded based on the value that was used when the installation was run. This page outlines how to change the BITBUCKET_HOME variable for the Windows service.

How to change BITBUCKET_HOME for the Windows service

  • Stop the Bitbucket Server service.
  • Start >> Run >> type in 'cmd' >> Enter でコマンド ウィンドウを開きます。
  • cd to the bin directory the Bitbucket Server Installation (<Bitbucket Server Installation dir>/bin).
  • Run from there:

    tomcat8w //ES//AtlassianBitbucket 
  • A window will pop up. Click on the Java tab to see the list of current start-up options. Under "Java Options:" form, input the value:

    -Dbitbucket.home=C:/absolute/path/to/your/bitbucket/home
  • Restart Bitbucket Server Service. From here the service will be forced to point to the path defined on the property -Dbitbucket.home above.

最終更新日: 2016 年 2 月 26 日

この内容はお役に立ちましたか?

はい
いいえ
この記事についてのフィードバックを送信する
Powered by Confluence and Scroll Viewport.