Edwin Kempin | f729574 | 2012-07-16 15:03:46 +0200 | [diff] [blame] | 1 | plugin reload |
| 2 | ============= |
| 3 | |
| 4 | NAME |
| 5 | ---- |
| 6 | plugin reload - Reload/Restart plugins. |
| 7 | |
| 8 | SYNOPSIS |
| 9 | -------- |
| 10 | [verse] |
| 11 | 'ssh' -p <port> <host> 'gerrit plugin reload' |
| 12 | <NAME> ... |
| 13 | |
| 14 | DESCRIPTION |
| 15 | ----------- |
Edwin Kempin | b778e21 | 2012-07-18 12:42:23 +0200 | [diff] [blame] | 16 | Reload/Restart plugins. |
| 17 | |
| 18 | Whether a plugin is reloaded or restarted is defined by the plugin's |
| 19 | link:dev-plugins.html#reload_method[reload method]. |
| 20 | |
| 21 | E.g. a plugin needs to be reloaded if its configuration is modified to |
| 22 | make the new configuration data become active. |
Edwin Kempin | f729574 | 2012-07-16 15:03:46 +0200 | [diff] [blame] | 23 | |
| 24 | ACCESS |
| 25 | ------ |
| 26 | Caller must be a member of the privileged 'Administrators' group. |
| 27 | |
| 28 | SCRIPTING |
| 29 | --------- |
| 30 | This command is intended to be used in scripts. |
| 31 | |
| 32 | OPTIONS |
| 33 | ------- |
| 34 | <NAME>:: |
| 35 | Name of the plugin that should be reloaded. Multiple names of |
| 36 | plugins that should be reloaded may be specified. |
| 37 | |
| 38 | EXAMPLES |
| 39 | -------- |
| 40 | Reload a plugin: |
| 41 | |
| 42 | ==== |
| 43 | ssh -p 29418 localhost gerrit plugin reload my-plugin |
| 44 | ==== |
| 45 | |
| 46 | GERRIT |
| 47 | ------ |
| 48 | Part of link:index.html[Gerrit Code Review] |
Yuxuan 'fishy' Wang | 99cb68d | 2013-10-31 17:26:00 -0700 | [diff] [blame^] | 49 | |
| 50 | SEARCHBOX |
| 51 | --------- |