Restarting a Tarantool instance | Tarantool
Tooling tt CLI utility Commands Restarting a Tarantool instance

Restarting a Tarantool instance

$ tt restart APPLICATION[:APP_INSTANCE] [OPTION ...]

tt restart restarts the specified running Tarantool instance. A tt restart call is equivalent to consecutive calls of tt stop and tt start.

When called without arguments, restarts all running applications in the current environment.

See also: Starting Tarantool applications, Stopping a Tarantool instance, Checking instance status.

-y, --yes

Automatic “Yes” to confirmation prompt.

  • Restart all instances of the application stored in the app directory inside instances_enabled in accordance with the instances configuration:

    $ tt restart app
    

    Note

    This call starts all application instances specified in its instances.yml, even those that were not running before the call.

  • Restart only the master instance of the app application with automatic confirmation:

    $ tt restart app:master -y
    
Found what you were looking for?
Feedback