server

Start the server

Synopsis

Server

This command launches a torero server that can be connected to from other torero clients. In order to run the torero server command, torero's application mode will need to be set to server via the configuration variable TORERO_APPLICATION_MODE.

Admin User Creation On the first launch of torero server, an entry is placed into the logs with some temporary credentials for torero's admin account. The log entry resembles what is shown below.

 CREATED TEMPORARY ADMIN 
 username: admin 
 password: V1j*tiXS@q2ey!k21(mHjJ9@f70zit(% 

A correctly configured torero client can then connect to the server by running torero login admin and reset the password by following the login flow.

Admin User Password Recovery If the admin account credentials are ever forgotten, one can recover the admin account by running the torero server --recover-admin-user. This process will require access to the server with two terminals open. One terminal will start the recovery process and the second terminal will perform the reset procedures. Once the account is recovered a new admin account will be setup on server start. The password can be retrieved from the output of the server start up log files.

torero server [flags]

Examples

Start The torero Server

>_ torero server

Options

      --cert-file string          Certificate file to use (default "/etc/torero/torero.crt")
  -h, --help                      help for server
      --private-key-file string   Private key file to use (default "/etc/torero/torero.key")
      --recover-admin-user        Starts a recovery process if the admin user's credentials are ever lost

Options inherited from parent commands

      --config string   Path to the configuration file
      --raw             Displays the result of the command in its raw format
      --verbose         Enable verbose output

SEE ALSO