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: admin

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. The user can then enter a new password that will be used by the admin user

torero server [flags]

Examples

Start The torero Server

>_ torero server

Options

      --ca-cert-file string       CA Certificate file to use
      --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