Starting and stopping Bitbucket Server

There are a few ways that you can start and stop Bitbucket Server:

At install time

The Bitbucket Server installer automatically starts Bitbucket Server.

On Windows and Linux systems you can choose to have Bitbucket Server installed as a service.

When Bitbucket Server runs as a service

If Bitbucket Server is installed as a service on Windows or Linux systems, it will be started automatically when the system boots.

Windows

Start and stop the Bitbucket Server service from the services console, on Windows.

Linux

Manage the Bitbucket Server service using the following commands:

# service atlbitbucket status
# service atlbitbucket stop
# service atlbitbucket start

 

Mac OS X

On Mac OS X, you will need to restart Bitbucket Server manually, as described below.

Manually

You can start and stop Bitbucket Server manually as follows:

Windows

Start and stop Bitbucket Server using the Bitbucket Server items in the Windows Start menu. Use the URL item there to visit Bitbucket Server in your default browser.

Alternatively, start Bitbucket Server from a command prompt, by changing directory to the <Bitbucket Server installation directory> and running the following command:

bin\start-bitbucket.bat

Stop Bitbucket Server manually by changing directory to the <Bitbucket Server installation directory> and running the following command:

bin\stop-bitbucket.bat

Linux

Start and stop Bitbucket Server manually using the scripts provided.

Start Bitbucket Server by changing directory in a terminal to the <Bitbucket Server installation directory> and running:

bin/start-bitbucket.sh

Stop Bitbucket Server by changing directory in a terminal to the <Bitbucket Server installation directory> and running:

bin/stop-bitbucket.sh

Mac

Start and stop Bitbucket Server manually using the app icons (shown above) in the <Bitbucket Server installation directory>. These simply link to the start-bitbucket.sh and stop-bitbucket.sh scripts in <Bitbucket Server installation directory>/bin.

Use the URL icon to visit Bitbucket Server in your default browser.

Last modified on Sep 16, 2015

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.