Hub 2024.2 Help

Start and Stop Hub ZIP

This page describes how to stop and start your Hub server. To prevent unexpected loss of data, you need to stop your Hub server before performing any of the following updates:

  • Changing the location of the Hub database or other application files.

  • Modifying Hub properties or JVM options for your Hub server.

  • Switching traffic from HTTP to HTTPS and vice versa.

  • Upgrading your Hub installation.

The commands used to start and stop the application vary slightly by operating system. To make sure you see information that is relevant to your installation, select the tab that corresponds with the operating system used in your host environment.

If you installed Hub with a ZIP distribution, you run Hub from the command line. The scripts that you use to start and stop Hub are located in the <hub_home>/bin/ directory. The <hub_home> directory is the location where the ZIP distribution was unpacked during installation.

To stop and start Hub on macOS or Linux platforms, execute the command as a non-root user.

Enter commands to stop and start the Hub service in a command-line interface. Each command should be preceded by the name of the shell script that contains instructions for handling these commands and a reference to its location. For example, if you are running these commands using <hub_home>/bin/ as the current working directory, you would enter the command in this format:

./hub.sh run

If you installed Hub with a ZIP distribution, you run Hub from the command line. The scripts that you use to start and stop Hub are located in the <hub_home>\bin\ directory. The <hub_home> directory is the location where the ZIP distribution was unpacked during installation.

Enter commands to stop and start the Hub service in a command-line interface. Each command should be preceded by the name of the batch file that contains instructions for handling these commands and a reference to its location. For example, if you are running these commands using <hub_home>\bin\ as the current working directory, you would enter the command in this format:

.\hub.bat run

Use the following commands to manage the status of your Hub installation:

Command

Description

run

Starts the Hub service. With this command, the console is blocked until the service is stopped with the stop command.

start

Starts the Hub service. With this command, the console is only blocked during the startup process.

stop

Stops the Hub service.

restart

Restarts the Hub service.

help

Displays a list of all commands that can be executed in the command-line interface.

Last modified: 09 November 2023