Starting and stopping Bitbucket Server
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.