Server side tools can be started by executing the WAR file through the Java command line. For example:
$ java -jar gerrit.war <tool> [<options>]
Tool should be one of the following names:
Tools
- init
-
Initialize a new Gerrit server installation.
- daemon
-
Gerrit HTTP, SSH network server.
- prolog-shell
-
Simple interactive Prolog interpreter.
- reindex
-
Rebuild the secondary index.
- SwitchSecureStore
-
Change used SecureStore implementation.
- rulec
-
Compile project-specific Prolog rules to JARs.
- version
-
Display the release version of Gerrit Code Review.
- passwd
-
Set or reset password in secure.config.
Transition Utilities
- LocalUsernamesToLowerCase
-
Convert the local username of every account to lower case.
- MigrateAccountPatchReviewDb
-
Migrates AccountPatchReviewDb from one database backend to another.
Part of Gerrit Code Review