This page describes how to stop and start your YouTrack Standalone server.
The following situations require that you stop YouTrack:
You want to change the location of the database.
You want to modify properties or JVM options for your YouTrack Standalone server.
You want to upgrade your YouTrack Standalone installation.
If you installed YouTrack with a ZIP distribution, you run YouTrack from the command line. The scripts that you use to start and stop YouTrack are located in the <youtrack_home>/bin/ directory. The <youtrack_home> directory is the location where the ZIP distribution was unpacked during installation.
To stop and start YouTrack on macOS or Linux platforms, execute the command as a non-root user.
note
All of the commands on this page are for Linux and macOS. If you are working on a Windows server, replace .sh with .bat and use the backslash.
Enter commands to stop and start the YouTrack service in a command-line interface. Use the following commands to manage the status of your YouTrack Standalone instance:
Command
Description
youtrack.sh run
Starts the YouTrack service. With this command, the console is blocked until the service is stopped with the youtrack.sh stop command.
youtrack.sh start
Starts the YouTrack service. With this command, the console is only blocked during the startup process.
youtrack.sh stop
Stops the YouTrack service.
youtrack.sh restart
Restarts the YouTrack service.
youtrack.sh help
Displays a list of all commands that can be executed in the command-line interface.