Understand startup and shutdown scripts in Jira server

Still need help?

The Atlassian Community is here for you.

Ask the community

Platform Notice: Server and Data Center Only - This article only applies to Atlassian products on the server and data center platforms.

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

FunctionOptions
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.shStops 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

FunctionOptions
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.batRuns shutdown.bat
shutdown.bat

Stops JIRA applications by running "catalina.bat stop"

DescriptionThis article gives details on how to start and stop JIRA using the scripts provided with Jira
ProductJira
PlatformServer
Last modified on Sep 25, 2019

Was this helpful?

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