The Sirveo CLI
The binary is typically used to start the server:
For additional commands and utilities, see:
Some useful commands are further documented below.
version
To check the release version, use one of:
Which outputs:
adduser
This command creates additional users. It is useful to recover access if credentials are lost. Since it must interact with the database, it requires a configuration file with at least all the db_*
settings configured appropriately.
Example usage:
Details are prompted for interactively:
check-license
Use this command to inspect license details, without starting the server.
Example output:
To provide the input license via text file:
Or via the SIRVEO_LICENSE
environment variable:
Or via CLI:
In the above examples, the input license is being validated against a randomly-generated instance ID. Some licenses may require a specific instance ID. If a server has an existing database, its instance ID can be obtained from the database:
And provided to the check-license
command via:
legal
This command prints Sirveo’s end user license agreement:
And third party notices and software licenses: