Understand startup and shutdown scripts in Jira server

Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.

Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.

*Except Fisheye and Crucible

Summary

This article gives details on how to start and stop JIRA using the scripts provided with JIRA

Solution

Solution

Linux

Scripts used to start and stop JIRA applications are located inside of <JIRA_INSTALL>/bin

Starting JIRA

Script Name

Function

Options

start-jira.sh

Starts JIRA applications as the user defined inside user.sh

Executes "startup.sh" as the defined user when used with no options

To run JIRA applications in the foreground, use "start-jira.sh -fg"

This option executes "catalina.sh run" as the defined user which causes JIRA applications to run in the foreground

startup.sh

Starts JIRA applications by executing "catalina.sh start"

This will run JIRA applications in the background

JIRA applications will run as the user who executes startup.sh

Stopping JIRA

Script Name

Function

stop-jira.sh

Stops JIRA applications as the user defined inside user.sh

shutdown.sh

Stops JIRA applications as the user executing shutdown.sh

This is a typical Tomcat shutdown.sh file

Windows

Scripts used to start and stop JIRA applications are located inside of <JIRA_INSTALL>/bin

Starting JIRA

Script Name

Function

Options

start-jira.bat

Executes startup.bat or catalina.bat depending on options used

Executes "startup.bat" when used with no options

To run JIRA applications in the foreground, use "start-jira.bat -fg"

This option executes "catalina.bat run" which causes JIRA applications to run in the foreground

startup.bat

Starts JIRA by executing "catalina.bat start"

This will run JIRA applications in the background

Stopping JIRA

Script Name

Function

stop-jira.bat

Runs shutdown.bat

shutdown.bat

Stops JIRA applications by running "catalina.bat stop"

Updated on April 15, 2025

Still need help?

The Atlassian Community is here for you.