Hub 2018.3 Help

Start and Stop Hub ZIP

This page describes how to stop and start your Hub server.

The following situations require that you stop your Hub server:

  • You want to change the location of the Hub database.

  • You want to modify Hub properties or JVM options for your Hub server.

  • You want to upgrade your Hub installation.

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. Use the following commands to manage the status of your Hub instance:

Command

Description

hub.sh run

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

hub.sh start

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

hub.sh stop

Stops the Hub service.

hub.sh restart

Restarts the Hub service.

hub.sh help

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

Last modified: 1 October 2018