JIRA application Startup and Shutdown Scripts

Still need help?

The Atlassian Community is here for you.

Ask the community

This Knowledge Base article was written specifically for the Atlassian Server platform. Due to the Functional differences in Atlassian Cloud, the contents of this article cannot be applied to Atlassian Cloud applications.

Purpose

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

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"

Description This article gives details on how to start and stop JIRA using the scripts provided with Jira
Product Jira
Platform Server
Last modified on Jan 24, 2019

Was this helpful?

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